mirror of
https://github.com/friendica/friendica
synced 2024-11-19 11:03:40 +00:00
Issue 4396: Avoid SQL error during UImport
This commit is contained in:
parent
753f92c234
commit
d119beef3f
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class UserImport
|
|||
// check for username
|
||||
// check if username matches deleted account
|
||||
if (dba::exists('user', ['nickname' => $account['user']['nickname']])
|
||||
|| dba::exists('userd', ['nickname' => $account['user']['nickname']])) {
|
||||
|| dba::exists('userd', ['username' => $account['user']['nickname']])) {
|
||||
notice(L10n::t("User '%s' already exists on this server!", $account['user']['nickname']));
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue