fix for * highlights

This commit is contained in:
SJ 2015-09-08 13:39:40 +02:00
parent 74b761e70d
commit 561b75230e

View File

@ -495,7 +495,7 @@ class ModelSearchMessage extends Model {
while(list($k, $v) = each($a)) { while(list($k, $v) = each($a)) {
if(strlen($v) >= 3 && !in_array($v, $fields)) { if(strlen($v) >= 3 && !in_array($v, $fields)) {
//$v = preg_replace("/\W/", "", $v); $v = preg_replace("/\*/", "", $v);
if($v) { array_push($terms, $v); } if($v) { array_push($terms, $v); }
} }
} }