mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-07-14 21:11:54 +02:00
@ -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);
|
$email = preg_replace("/\|@/", "|", $email);
|
||||||
return preg_replace("/[\@\.\+\-\_]/", "X", $email);
|
return preg_replace("/[\@\.\+\-\_]/", "X", $email);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user