diff --git a/admin/inc/class.admin_account.inc.php b/admin/inc/class.admin_account.inc.php index 394f05465b..b0604fb76d 100644 --- a/admin/inc/class.admin_account.inc.php +++ b/admin/inc/class.admin_account.inc.php @@ -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 }