Minor adjustments #571

This commit is contained in:
Roman Kelesidis 2023-03-07 23:21:58 +07:00
commit e5ad0d09b8
2 changed files with 3 additions and 3 deletions

View file

@ -26,10 +26,10 @@ $poll = new TorrentPier\Legacy\Poll();
// проверка валидности $topic_id
if (!$topic_id) {
bb_die('Invalid topic_id');
bb_die($lang['INVALID_TOPIC_ID']);
}
if (!$t_data = DB()->fetch_row("SELECT * FROM " . BB_TOPICS . " WHERE topic_id = $topic_id LIMIT 1")) {
bb_die('Topic not found');
bb_die($lang['INVALID_TOPIC_ID_DB']);
}
// проверка прав

View file

@ -55,7 +55,7 @@
<div class="copyright tCenter">
<b style="color:rgb(204,0,0);">{L_NOTICE}</b><br />
{L_COPY}
</div>
</div><br />
<!--/page_footer -->