fixed not working change of memberships

This commit is contained in:
Ralf Becker 2014-04-03 08:34:12 +00:00
parent 2f9a4b9c33
commit f349506191

View File

@ -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
}