diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-07-29 21:39:18 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-07-29 21:39:18 +0000 |
commit | a1834101b64077a65f889a8c75ecea4f45e36f1d (patch) | |
tree | 15a2ce450dc0cb57fcc4d063696efe908a79d76c /modules/blog.module | |
parent | 2a561f3bc1105cc1d5e8ca14482cdf0760c2a16a (diff) | |
download | brdo-a1834101b64077a65f889a8c75ecea4f45e36f1d.tar.gz brdo-a1834101b64077a65f889a8c75ecea4f45e36f1d.tar.bz2 |
- #20668: Fix "username's blog" appearance rules.
Diffstat (limited to 'modules/blog.module')
-rw-r--r-- | modules/blog.module | 2 |
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)))); } } |