Преглед изворни кода

Keep using the new literal tag

Signed-off-by: Suki <[email protected]>
Suki пре 10 година
родитељ
комит
1c475aea12
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      Sources/ModerationCenter.php

+ 1 - 2
Sources/ModerationCenter.php

@@ -352,10 +352,9 @@ function ModBlockNotes()
 		$smcFunc['db_query']('', '
 			DELETE FROM {db_prefix}log_comments
 			WHERE id_comment = {int:note}
-				AND comment_type = {string:type}',
+				AND comment_type = {literal:modnote}',
 			array(
 				'note' => $_GET['delete'],
-				'type' => 'modnote',
 			)
 		);