mirror of
https://github.com/friendica/friendica
synced 2024-12-23 08:40:16 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue