mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-20 13:24:01 -07:00
Fixed broken pin first post (#660)
This commit is contained in:
parent
d806d12443
commit
048ce1183e
1 changed files with 1 additions and 1 deletions
|
@ -677,7 +677,7 @@ switch ($mode) {
|
||||||
$pin = ($mode == 'post_pin');
|
$pin = ($mode == 'post_pin');
|
||||||
$new_topic_status = ($pin) ? 1 : 0;
|
$new_topic_status = ($pin) ? 1 : 0;
|
||||||
|
|
||||||
if (count($topic_csv)) {
|
if (count((array)$topic_csv)) {
|
||||||
$sql = "
|
$sql = "
|
||||||
SELECT topic_id, topic_title
|
SELECT topic_id, topic_title
|
||||||
FROM " . BB_TOPICS . "
|
FROM " . BB_TOPICS . "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue