Browse Source

A couple of query broken

Signed-off-by: emanuele <[email protected]>
emanuele 12 years ago
parent
commit
afe9b9d9b2
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Sources/MessageIndex.php
  2. 1 1
      Sources/Subs-Boards.php

+ 1 - 1
Sources/MessageIndex.php

@@ -1151,7 +1151,7 @@ function QuickModeration()
 		$smcFunc['db_query']('', '
 			SELECT id_topic, disregarded
 			FROM {db_prefix}log_topics
-			WHERE id_topic IN ({array_int:selected_topics}
+			WHERE id_topic IN ({array_int:selected_topics})
 				AND id_member = {int:current_user}',
 			array(
 				'selected_topics' => $markCache,

+ 1 - 1
Sources/Subs-Boards.php

@@ -181,7 +181,7 @@ function MarkRead()
 		$smcFunc['db_query']('', '
 			SELECT id_topic, disregarded
 			FROM {db_prefix}log_topics
-			WHERE id_topic IN ({array_int:selected_topics}
+			WHERE id_topic IN ({array_int:selected_topics})
 				AND id_member = {int:current_user}',
 			array(
 				'selected_topics' => $topics,