Changeset 2621
- Timestamp:
- 12/01/09 00:53:36 (3 years ago)
- File:
-
- 1 edited
-
alternc/trunk/bureau/class/m_mail.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
alternc/trunk/bureau/class/m_mail.php
r2616 r2621 291 291 global $err,$cuid,$db,$admin; 292 292 $err->log("mail","put_mail_details",$mail); 293 $mail= strtolower($mail);293 $mail=trim(strtolower($mail)); // remove spaces also 294 294 $t=explode("@",$mail); 295 $email= $t[0];295 $email=trim($t[0]); // remove spaces also 296 296 $dom=$t[1]; 297 297 … … 313 313 reset($a); 314 314 for ($i=0;$i<count($a);$i++){ 315 $a[$i]=trim($a[$i]); 315 $a[$i]=trim($a[$i]); // remove spaces 316 316 if ($a[$i]){ 317 317 if(checkmail($a[$i])>1){ … … 378 378 $err->log("mail","add_mail",$dom."/".$mail); 379 379 $account=array(); 380 $mail= strtolower($mail);380 $mail=trim(strtolower($mail)); // remove spaces also 381 381 if ($pop) $pop="1"; else $pop="0"; 382 382 if ($mail) {
Note: See TracChangeset
for help on using the changeset viewer.
