forked from extern/egroupware
fixed not working change of memberships
This commit is contained in:
parent
2f9a4b9c33
commit
f349506191
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user