mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:27:03 +02:00
fixed the underscore in email addresses
This commit is contained in:
@ -646,7 +646,7 @@ class ModelSearchSearch extends Model {
|
||||
|
||||
private function fix_email_address_for_sphinx($email = '') {
|
||||
$email = preg_replace("/\|@/", "|", $email);
|
||||
return preg_replace("/[\@\.\+\-]/", "X", $email);
|
||||
return preg_replace("/[\@\.\+\-\_]/", "X", $email);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user