summaryrefslogtreecommitdiff
path: root/modules/blog
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-04-02 12:15:42 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-04-02 12:15:42 +0000
commit873ee86a56448c40fd1a563e85aeb04ac7ff0440 (patch)
tree8103b366b5b62869dd505e5ecaa82aba4c0ec6dd /modules/blog
parent1e4308a939723529b665ac7e0e0356950a0507f7 (diff)
downloadbrdo-873ee86a56448c40fd1a563e85aeb04ac7ff0440.tar.gz
brdo-873ee86a56448c40fd1a563e85aeb04ac7ff0440.tar.bz2
- trying to finally close bug #85.
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 0cd85231d..4036f154f 100644
--- a/modules/blog/blog.module
+++ b/modules/blog/blog.module
@@ -301,7 +301,7 @@ function blog_link($type, $node = 0, $main) {
if (blog_access("update", $node)) {
$links[] = "<a href=\"module.php?mod=node&op=edit&id=$node->nid\" title=\"". t("Edit this blog entry.") ."\">". t("edit this blog") ."</a>";
}
- elseif ($op != "view") {
+ else {
$links[] = "<a href=\"module.php?mod=blog&op=view&id=$node->uid\" title=\"". sprintf(t("Read %s's latest blog entries."), $node->name) ."\">". sprintf(t("%s's blog"), $node->name) ."</a>";
}
}