summaryrefslogtreecommitdiff
path: root/modules/blog
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-11-12 20:15:08 +0000
committerDries Buytaert <dries@buytaert.net>2001-11-12 20:15:08 +0000
commit6642f2987e1b176465e82ce1623327471c2c99a2 (patch)
tree82360ed9f7cb9eb95891c819473b400cb471fab8 /modules/blog
parent1291d8dcb406442972c543502377779f2c8fecc1 (diff)
downloadbrdo-6642f2987e1b176465e82ce1623327471c2c99a2.tar.gz
brdo-6642f2987e1b176465e82ce1623327471c2c99a2.tar.bz2
- 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 + ...
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 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") {