summaryrefslogtreecommitdiff
path: root/modules/blog
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-07-14 13:56:59 +0000
committerDries Buytaert <dries@buytaert.net>2001-07-14 13:56:59 +0000
commit18ec47d71b8a0b4e5f6f7bf1e0af2877c2abcc9c (patch)
treee9e5908871f529c06786a548ff036875a97dd083 /modules/blog
parentcd16e265ba0be5c847128415dd96b52f8b519768 (diff)
downloadbrdo-18ec47d71b8a0b4e5f6f7bf1e0af2877c2abcc9c.tar.gz
brdo-18ec47d71b8a0b4e5f6f7bf1e0af2877c2abcc9c.tar.bz2
- blog.module:
+ small visual improvement
Diffstat (limited to 'modules/blog')
-rw-r--r--modules/blog/blog.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module
index ce01a5703..b73601973 100644
--- a/modules/blog/blog.module
+++ b/modules/blog/blog.module
@@ -275,7 +275,7 @@ function blog_link($type, $node = 0) {
$links[] = "<a href=\"module.php?mod=blog&op=view&name=". urlencode($user->userid) ."\">". t("view your blog") ."</a>";
}
- if ($type == "node" && $node) {
+ if ($type == "node" && $node->type == "blog") {
$links[] = "<a href=\"module.php?mod=blog&op=view&name=". urlencode($node->userid) ."\">". strtr(t("%a's blog"), array("%a" => $node->userid)) ."</a>";
}