gui: minor fix

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2017-07-28 21:20:43 +02:00
parent a3cc6ba68b
commit 5bb52be2fd

View File

@ -826,7 +826,7 @@ class ModelSearchSearch extends Model {
}
private function fix_email_address_for_sphinx($email = '') {
public function fix_email_address_for_sphinx($email = '') {
$email = preg_replace("/\|@/", "|", $email);
return preg_replace("/[\@\.\+\-\_]/", "X", $email);
}