mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-12 08:58:30 +01:00
Revert "fix array_diff_assoc(): Argument #1 ($array) must be of type array, null given"
As it breaks setting most personal preferences :(
This reverts commit 3da02f2dfd
.
This commit is contained in:
parent
3da02f2dfd
commit
e210b7fafe
@ -891,7 +891,7 @@ class Preferences
|
||||
foreach($prefs as $app => $value)
|
||||
{
|
||||
// check if app preferences have changed, if not no need to save them
|
||||
if ($old_prefs && !array_diff_assoc($old_prefs[$app] ?? [], $value)) continue;
|
||||
if ($old_prefs && !array_diff_assoc($old_prefs[$app], $value)) continue;
|
||||
|
||||
if (!$changed++) $this->db->transaction_begin();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user