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/forum/forum.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/forum') diff --git a/modules/forum/forum.module b/modules/forum/forum.module index 354b5ad37..3721658ec 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -10,7 +10,7 @@ function forum_node($field) { function forum_access($op, $node) { if ($op == "view") { - return ($node->nid && $node->status && !$node->moderate); + return $node->status; } } -- cgit v1.2.3