正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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); |
-
请 注册 或 登录 后发表评论