Parcourir la source

Use the new literal type

Signed-off-by: Suki <[email protected]>
Suki il y a 11 ans
Parent
commit
513f68798a
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      Sources/Subs-ReportedPosts.php

+ 1 - 2
Sources/Subs-ReportedPosts.php

@@ -365,10 +365,9 @@ function getCommentModDetails($comment_id)
 		SELECT id_comment, id_notice, log_time, body, id_member
 		FROM {db_prefix}log_comments
 		WHERE id_comment = {int:id_comment}
-			AND comment_type = {string:modnote}',
+			AND comment_type = {literal:modnote}',
 		array(
 			'id_report' => $comment_id,
-			'modenote' => 'modnote',
 		)
 	);