From 86efc8c0de9a9bd2d26bc7b616e5ecd4b842d406 Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 13 Jul 2018 14:51:15 +0200 Subject: [PATCH] (cp e8df728) fix create_function replacement --- comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comments.php b/comments.php index 60ad41b83..d77904df8 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'] ) ) ).