diff --git a/comments.php b/comments.php index bf68fc482..9323f7756 100644 --- a/comments.php +++ b/comments.php @@ -181,7 +181,7 @@ if (!empty($_GET['keyword'])) '('. implode(' AND ', array_map( - function($s) {return "content LIKE \'%$s%\'"; } , + function($s) {return "content LIKE '%$s%'"; } , preg_split('/[\s,;]+/', $_GET['keyword'] ) ) ).