From 6642f2987e1b176465e82ce1623327471c2c99a2 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 12 Nov 2001 20:15:08 +0000 Subject: - node modules: + made some improvements to the node access checks - queue module: + form()-ified the queue module and added some extra information or guidelines + added a few missing translations + ... --- 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 a79f0abf8..b9d0a4f86 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -22,7 +22,7 @@ function blog_access($op, $node) { global $user; if ($op == "view") { - return ($node->nid && $node->status && !$node->moderate); + return $node->status; } if ($op == "create") { -- cgit v1.2.3