|
...
|
...
|
@@ -70,7 +70,7 @@ class Profile extends ExpertBase |
|
|
|
}
|
|
|
|
$exist = User::where('email', $params['email'])->where('id', '<>', $this->expert['id'])->find();
|
|
|
|
if ($exist) {
|
|
|
|
$this->error(__("Email already exists"));
|
|
|
|
$this->error(__("邮箱已存在"));
|
|
|
|
}
|
|
|
|
if ($params) {
|
|
|
|
|
...
|
...
|
|