Update modcp.php

This commit is contained in:
Roman Kelesidis 2024-02-22 18:21:39 +07:00
parent 1a4cecde19
commit c358124b62

View File

@ -127,7 +127,7 @@ if ($topic_id)
if (!$topic_row = DB()->fetch_row($sql)) if (!$topic_row = DB()->fetch_row($sql))
{ {
bb_die($lang['INVALID_TOPIC_ID_DB']); bb_die('INVALID_TOPIC_ID_DB');
} }
$forum_id = $topic_row['forum_id']; $forum_id = $topic_row['forum_id'];
@ -140,7 +140,7 @@ elseif ($forum_id)
if (!$topic_row = DB()->fetch_row($sql)) if (!$topic_row = DB()->fetch_row($sql))
{ {
bb_die($lang['FORUM_NOT_EXIST']); bb_die('FORUM_NOT_EXIST');
} }
$forum_name = $topic_row['forum_name']; $forum_name = $topic_row['forum_name'];