mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Updated
This commit is contained in:
parent
04ea6749dd
commit
a8001b0dd8
@ -160,6 +160,8 @@ if ($post_info = DB()->fetch_row($sql))
|
|||||||
$forum_id = $post_info['forum_id'];
|
$forum_id = $post_info['forum_id'];
|
||||||
$forum_name = $post_info['forum_name'];
|
$forum_name = $post_info['forum_name'];
|
||||||
|
|
||||||
|
set_die_append_msg($forum_id);
|
||||||
|
|
||||||
$is_auth = auth(AUTH_ALL, $forum_id, $userdata, $post_info);
|
$is_auth = auth(AUTH_ALL, $forum_id, $userdata, $post_info);
|
||||||
|
|
||||||
if ($post_info['forum_status'] == FORUM_LOCKED && !$is_auth['auth_mod'])
|
if ($post_info['forum_status'] == FORUM_LOCKED && !$is_auth['auth_mod'])
|
||||||
|
@ -139,6 +139,8 @@ if ($topic_attachment)
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set_die_append_msg($forum_id);
|
||||||
|
|
||||||
// Find newest post
|
// Find newest post
|
||||||
if (($next_topic_id || @$_GET['view'] === 'newest') && !IS_GUEST && $topic_id)
|
if (($next_topic_id || @$_GET['view'] === 'newest') && !IS_GUEST && $topic_id)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user