From a4b4bae571ef0b3d8a7e107cf07c32666b8180c7 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 5 Sep 2018 17:16:36 +0200 Subject: [PATCH] fix creation of new accounts failed --- admin/inc/class.admin_account.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }