mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
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)
|
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
|
return ''; // no need to save account data, if nothing changed
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user