|
|
@@ -118,6 +118,7 @@ class CronController extends BackendController |
|
|
|
$email = preg_replace('#&([A-za-z])(?:acute|cedil|caron|circ|grave|orn|ring|slash|th|tilde|uml);#', '\1', $email); |
|
|
|
$email = preg_replace('#&([A-za-z]{2})(?:lig);#', '\1', $email); // pour les ligatures e.g. 'œ' |
|
|
|
$email = preg_replace('#&[^;]+;#', '', $email); // supprime les autres caractères |
|
|
|
$email = str_replace(' ','',$email) ; |
|
|
|
$u->email = $email ; |
|
|
|
|
|
|
|
$u->telephone = '0600000000' ; |
|
|
@@ -133,6 +134,7 @@ class CronController extends BackendController |
|
|
|
} |
|
|
|
|
|
|
|
$u->save(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
$commandes = Commande::find() |