From a1834101b64077a65f889a8c75ecea4f45e36f1d Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Fri, 29 Jul 2005 21:39:18 +0000 Subject: - #20668: Fix "username's blog" appearance rules. --- modules/blog/blog.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/blog') diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 791e9ec84..308e4eea1 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -237,7 +237,7 @@ function blog_link($type, $node = 0, $main = 0) { $links = array(); if ($type == 'node' && $node->type == 'blog') { - if (arg(0) != 'blog' && arg(1) != $node->uid) { + if (arg(0) != 'blog' || arg(1) != $node->uid) { $links[] = l(t("%username's blog", array('%username' => $node->name)), "blog/$node->uid", array('title' => t("Read %username's latest blog entries.", array('%username' => $node->name)))); } } -- cgit v1.2.3