From 8ceb695d437b49847af2c81180d7333a3efa45bc Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Thu, 11 Apr 2013 12:41:57 +0000 Subject: [PATCH] Fix bug with filtration at threads history page --- src/messenger/webim/operator/history.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/messenger/webim/operator/history.php b/src/messenger/webim/operator/history.php index 950f3565..c5ac9e21 100644 --- a/src/messenger/webim/operator/history.php +++ b/src/messenger/webim/operator/history.php @@ -47,10 +47,8 @@ if ($query !== false) { } $page['groupName'] = $groupName; - $escapedQuery = $escapedQuery?$escapedQuery:''; - $values = array( - ':query' => "%{$escapedQuery}%" + ':query' => "%{$query}%" ); $searchConditions = array();