mirror of
https://github.com/friendica/friendica
synced 2024-11-10 04:22:54 +00:00
Fix condition
This commit is contained in:
parent
317921e51c
commit
fed1ace311
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ class User
|
|||
// List of possible actor names
|
||||
$possible_accounts = ['friendica', 'actor', 'system', 'internal'];
|
||||
foreach ($possible_accounts as $name) {
|
||||
if (!DBA::exists('user', ['nickname' => $name, 'account_removed' => false, 'expire']) &&
|
||||
if (!DBA::exists('user', ['nickname' => $name, 'account_removed' => false, 'expire' => false]) &&
|
||||
!DBA::exists('userd', ['username' => $name])) {
|
||||
DI::config()->set('system', 'actor_name', $name);
|
||||
return $name;
|
||||
|
|
Loading…
Reference in a new issue