Merge pull request #13961 from annando/issue-13765

Issue 13765: Fixed creation of self user contact for approval
This commit is contained in:
Tobias Diekershoff 2024-03-04 11:44:55 +01:00 committed by GitHub
commit 9b0e243350
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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