Fixed broken pin first post (#660)

This commit is contained in:
Roman Kelesidis 2023-03-27 22:51:07 +07:00 committed by GitHub
commit 048ce1183e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -677,7 +677,7 @@ switch ($mode) {
$pin = ($mode == 'post_pin');
$new_topic_status = ($pin) ? 1 : 0;
if (count($topic_csv)) {
if (count((array)$topic_csv)) {
$sql = "
SELECT topic_id, topic_title
FROM " . BB_TOPICS . "