作者 邓超

x

@@ -50,7 +50,7 @@ class Address { @@ -50,7 +50,7 @@ class Address {
50 if(!empty($email)){ 50 if(!empty($email)){
51 $el = preg_replace('/[^\x20-\x7E]/', '', $email); 51 $el = preg_replace('/[^\x20-\x7E]/', '', $email);
52 if($el){ 52 if($el){
53 - $email = $el; 53 + $email = trim($el);
54 } 54 }
55 $this->email = $email; 55 $this->email = $email;
56 $this->name = trim($this->raw); 56 $this->name = trim($this->raw);