X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FCore%2FUserImport.php;h=0832dae45a49453398d0c241b3800c56f056ad3b;hb=271b6cb8f93e6827e950de2ea99bc2403ab099f9;hp=801deda0af2c26c453bc417fb473167937c392d8;hpb=3e456ddcb811adb4480cf51a8daced58e3324baf;p=friendica.git diff --git a/src/Core/UserImport.php b/src/Core/UserImport.php index 801deda0af..0832dae45a 100644 --- a/src/Core/UserImport.php +++ b/src/Core/UserImport.php @@ -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; }