[FIX] Account Update with same coin address
This commit is contained in:
parent
5e73e7a48c
commit
bfbb8c83b7
@ -447,7 +447,7 @@ class User extends Base {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!empty($address)) {
|
if (!empty($address)) {
|
||||||
if ($this->existsCoinAddress($address)) {
|
if ($address != $this->getCoinAddress($userID) && $this->existsCoinAddress($address)) {
|
||||||
$this->setErrorMessage('Address is already in use');
|
$this->setErrorMessage('Address is already in use');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user