Merge pull request #571 from torrentpier/minor-adjustments

Minor adjustments #571
This commit is contained in:
Roman Kelesidis 2023-03-07 23:22:30 +07:00 committed by GitHub
commit 21e1ebc86d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -26,10 +26,10 @@ $poll = new TorrentPier\Legacy\Poll();
// проверка валидности $topic_id // проверка валидности $topic_id
if (!$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")) { 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"> <div class="copyright tCenter">
<b style="color:rgb(204,0,0);">{L_NOTICE}</b><br /> <b style="color:rgb(204,0,0);">{L_NOTICE}</b><br />
{L_COPY} {L_COPY}
</div> </div><br />
<!--/page_footer --> <!--/page_footer -->