summaryrefslogtreecommitdiff
path: root/node.php
diff options
context:
space:
mode:
Diffstat (limited to 'node.php')
-rw-r--r--node.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/node.php b/node.php
index 6bbeed207..09e9622e1 100644
--- a/node.php
+++ b/node.php
@@ -7,7 +7,7 @@ page_header();
function node_render($node) {
global $user, $id, $cid, $op, $moderate, $pid, $edit, $theme, $mode, $order, $threshold, $PHP_SELF;
- if (user_access($node, "view content")) {
+ if (user_access($user, "view content")) {
if ($node->comment) {
switch($op) {