Merge pull request #13961 from annando/issue-13765
Issue 13765: Fixed creation of self user contact for approval
This commit is contained in:
commit
9b0e243350
|
@ -755,7 +755,7 @@ class Contact
|
|||
$user = DBA::selectFirst(
|
||||
'user',
|
||||
['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)) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user