mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 01:51:59 +01:00
fix for * highlights
This commit is contained in:
parent
74b761e70d
commit
561b75230e
@ -495,7 +495,7 @@ class ModelSearchMessage extends Model {
|
||||
|
||||
while(list($k, $v) = each($a)) {
|
||||
if(strlen($v) >= 3 && !in_array($v, $fields)) {
|
||||
//$v = preg_replace("/\W/", "", $v);
|
||||
$v = preg_replace("/\*/", "", $v);
|
||||
if($v) { array_push($terms, $v); }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user