fix creation of new accounts failed

This commit is contained in:
Ralf Becker 2018-09-05 17:16:36 +02:00
parent b68637b2c7
commit a4b4bae571

View File

@ -148,7 +148,7 @@ class admin_account
$old['account_groups'] = $content['old_account']['account_groups'];
}
}
if ($content['deny_edit'] || empty($old))
if ($content['deny_edit'] || $old === array())
{
return ''; // no need to save account data, if nothing changed
}