Zeile 161 | Zeile 161 |
---|
$forum = get_forum($thread['fid']); $forumpermissions = forum_permissions($forum['fid']); // Post doesn't belong to that user or isn't visible
|
$forum = get_forum($thread['fid']); $forumpermissions = forum_permissions($forum['fid']); // Post doesn't belong to that user or isn't visible
|
if($uid != $post['uid'] || ($post['visible'] == 0 && !is_moderator($fid, "canviewunapprove")) || $post['visible'] < 0)
| if($uid != $post['uid'] || $post['visible'] != 1)
|
{ $mybb->input['pid'] = 0; } // Thread isn't visible
|
{ $mybb->input['pid'] = 0; } // Thread isn't visible
|
elseif(($thread['visible'] == 0 && !is_moderator($forum['fid'], "canviewunapprove")) || $thread['visible'] < 0)
| elseif($thread['visible'] != 1)
|
{ $mybb->input['pid'] = 0; }
| { $mybb->input['pid'] = 0; }
|