diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-07-14 13:56:59 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-07-14 13:56:59 +0000 |
commit | 18ec47d71b8a0b4e5f6f7bf1e0af2877c2abcc9c (patch) | |
tree | e9e5908871f529c06786a548ff036875a97dd083 /modules/blog | |
parent | cd16e265ba0be5c847128415dd96b52f8b519768 (diff) | |
download | brdo-18ec47d71b8a0b4e5f6f7bf1e0af2877c2abcc9c.tar.gz brdo-18ec47d71b8a0b4e5f6f7bf1e0af2877c2abcc9c.tar.bz2 |
- blog.module:
+ small visual improvement
Diffstat (limited to 'modules/blog')
-rw-r--r-- | modules/blog/blog.module | 2 |
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>"; } |