Browse Source

! Bug fix: don't just ignore any previous topics columns.

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer 10 years ago
parent
commit
d246b6c15a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Sources/Subs-Post.php

+ 2 - 2
Sources/Subs-Post.php

@@ -1947,11 +1947,11 @@ function createPost(&$msgOptions, &$topicOptions, &$posterOptions)
 				'unapproved_posts = unapproved_posts + {int:counter_increment}',
 			);
 		if ($topicOptions['lock_mode'] !== null)
-			$topics_columns = array(
+			$topics_columns += array(
 				'locked = {int:locked}',
 			);
 		if ($topicOptions['sticky_mode'] !== null)
-			$topics_columns = array(
+			$topics_columns += array(
 				'is_sticky = {int:is_sticky}',
 			);