diff --git a/posting.php b/posting.php index 402e42c1..742c9c79 100644 --- a/posting.php +++ b/posting.php @@ -160,6 +160,8 @@ if ($post_info = DB()->fetch_row($sql)) $forum_id = $post_info['forum_id']; $forum_name = $post_info['forum_name']; + set_die_append_msg($forum_id); + $is_auth = auth(AUTH_ALL, $forum_id, $userdata, $post_info); if ($post_info['forum_status'] == FORUM_LOCKED && !$is_auth['auth_mod']) diff --git a/viewtopic.php b/viewtopic.php index 558aa268..3d28009b 100644 --- a/viewtopic.php +++ b/viewtopic.php @@ -139,6 +139,8 @@ if ($topic_attachment) )); } +set_die_append_msg($forum_id); + // Find newest post if (($next_topic_id || @$_GET['view'] === 'newest') && !IS_GUEST && $topic_id) {