From f3495061919d774f1dc875da080340515102cfa5 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 3 Apr 2014 08:34:12 +0000 Subject: [PATCH] fixed not working change of memberships --- 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 8f7ef7ceb6..464095a2f8 100644 --- a/admin/inc/class.admin_account.inc.php +++ b/admin/inc/class.admin_account.inc.php @@ -115,7 +115,7 @@ class admin_account */ public static function addressbook_pre_save(&$content) { - if ($content['old_account'] && !array_diff_assoc($content['old_account'], $content)) + if ($content['old_account'] && $content['old_account'] == array_diff_key($content, $content['old_account'])) { return ''; // no need to save account data, if nothing changed }