Issue 13765: Fixed creation of self user contact for approval
This commit is contained in:
parent
ea4e66c74c
commit
52cc8ab73b
|
@ -755,7 +755,7 @@ class Contact
|
||||||
$user = DBA::selectFirst(
|
$user = DBA::selectFirst(
|
||||||
'user',
|
'user',
|
||||||
['uid', 'username', 'nickname', 'pubkey', 'prvkey'],
|
['uid', 'username', 'nickname', 'pubkey', 'prvkey'],
|
||||||
['uid' => $uid, 'verified' => true, 'blocked' => false, 'account_removed' => false, 'account_expired' => false]
|
['uid' => $uid, 'account_removed' => false, 'account_expired' => false]
|
||||||
);
|
);
|
||||||
if (!DBA::isResult($user)) {
|
if (!DBA::isResult($user)) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user