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();