Issue 13765: Fixed creation of self user contact for approval

This commit is contained in:
Michael 2024-03-04 07:30:04 +00:00
parent ea4e66c74c
commit 52cc8ab73b

View File

@ -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;