equal
deleted
inserted
replaced
70 $row = $db->fetchrow(); |
70 $row = $db->fetchrow(); |
71 $forum_id = $row['forum_id']; |
71 $forum_id = $row['forum_id']; |
72 $topic_id = $row['topic_id']; |
72 $topic_id = $row['topic_id']; |
73 $topic_exists = true; |
73 $topic_exists = true; |
74 // FIXME: This will be controlled by an ACL rule |
74 // FIXME: This will be controlled by an ACL rule |
75 if ( $row['topic_deleted'] == 1 && $session->user_level < USER_LEVEL_MOD ) |
75 if ( $row['topic_deleted'] == 1 && !$session->get_permissions('decir_see_deleted_topic_full') ) |
76 { |
76 { |
77 $topic_exists = false; |
77 $topic_exists = false; |
78 } |
78 } |
79 } |
79 } |
80 else |
80 else |