From e8df728125094b9925ff7cedfb47587a38b17e90 Mon Sep 17 00:00:00 2001 From: modus75 Date: Thu, 12 Jul 2018 21:14:08 +0200 Subject: [PATCH] fix create_function replacement --- comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] ) ) ).