1
This commit is contained in:
parent
b599b999a5
commit
ae117d80aa
@ -810,6 +810,13 @@ class UserController extends BaseAuthedController {
|
|||||||
$oldUser = User::findByAddress($address);
|
$oldUser = User::findByAddress($address);
|
||||||
if ($oldUser) {
|
if ($oldUser) {
|
||||||
if ($oldUser['account_id'] != myself()->_getAccountId()) {
|
if ($oldUser['account_id'] != myself()->_getAccountId()) {
|
||||||
|
if (!phpcommon\isSameSeriesAccount(
|
||||||
|
$oldUser['account_id'],
|
||||||
|
myself()->_getAccountId()
|
||||||
|
)) {
|
||||||
|
myself()->_rspErr(1, 'is not SameSeriesAccount');
|
||||||
|
return;
|
||||||
|
}
|
||||||
User::updateOther(
|
User::updateOther(
|
||||||
$oldUser['account_id'],
|
$oldUser['account_id'],
|
||||||
array(
|
array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user