mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
Minor adjustments #571
This commit is contained in:
parent
e398657b20
commit
e5ad0d09b8
2 changed files with 3 additions and 3 deletions
4
poll.php
4
poll.php
|
@ -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']);
|
||||
}
|
||||
|
||||
// проверка прав
|
||||
|
|
|
@ -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 -->
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue