From b0e92b7df1b0fe8f07b73e80364ce69a391b5f6a Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 15 May 2007 03:41:02 +0000 Subject: [PATCH] merge -r 2012 from trunk to branch-1_7 keyword search was not working comments.php git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2013 68402e56-0260-453c-a942-63ccdbb3a9ee --- comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comments.php b/comments.php index b46ee3f8e..de328152f 100644 --- a/comments.php +++ b/comments.php @@ -117,7 +117,7 @@ if (isset($_GET['keyword']) and !empty($_GET['keyword'])) '$s', 'return "content LIKE \'%$s%\'";' ), - preg_split('/[\s,;]+/', $keyword) + preg_split('/[\s,;]+/', $_GET['keyword'] ) ) ). ')';