mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 09:38:53 +01:00
when inserting new set of preferences on preferences::copy_preferences, make sure we copy ONLY the pref and its app and owner, not its ID
This commit is contained in:
parent
d462aca4ff
commit
ece7a07030
@ -830,7 +830,7 @@ class preferences
|
||||
{
|
||||
$prefs = array_merge(self::unserialize($values), $prefs);
|
||||
}
|
||||
|
||||
unset($row['preference_id']);
|
||||
//error_log(__LINE__.': '.__METHOD__."() inserting app=$row[preference_app], owner=$row[preference_owner]: ".array2string($prefs));
|
||||
$db->insert(self::TABLE, array(
|
||||
'preference_value' => json_encode($prefs)
|
||||
|
Loading…
Reference in New Issue
Block a user