summaryrefslogtreecommitdiff
path: root/modules/blog.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/blog.module')
-rw-r--r--modules/blog.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blog.module b/modules/blog.module
index 791e9ec84..308e4eea1 100644
--- a/modules/blog.module
+++ b/modules/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))));
}
}