mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Minor improvements (#1125)
* Minor improvements * Updated * Updated * Updated * Update viewtopic.php * Update viewtopic.php * Update viewtopic.php * Update CHANGELOG.md
This commit is contained in:
parent
3a7d7bd097
commit
9ebe3a4d5c
17 changed files with 58 additions and 59 deletions
|
@ -55,7 +55,7 @@ switch ($mode) {
|
|||
|
||||
$topic_title_sql = DB()->escape($new_title);
|
||||
|
||||
DB()->query("UPDATE " . BB_TOPICS . " SET topic_title = '$topic_title_sql' WHERE topic_id = $topic_id");
|
||||
DB()->query("UPDATE " . BB_TOPICS . " SET topic_title = '$topic_title_sql' WHERE topic_id = $topic_id LIMIT 1");
|
||||
|
||||
// Обновление кеша новостей на главной
|
||||
$news_forums = array_flip(explode(',', $bb_cfg['latest_news_forum_id']));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue