mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
kope with not unserializable content in preferences stalling update
This commit is contained in:
parent
273779be8f
commit
e3aef81959
@ -747,6 +747,7 @@ class preferences
|
||||
foreach($db->select(self::TABLE, '*', $where, __LINE__, __FILE__) as $row)
|
||||
{
|
||||
$prefs = self::unserialize($row['preference_value']);
|
||||
if (!is_array($prefs)) $prefs = array(); // would stall update otherwise
|
||||
|
||||
if ($name[0] == '/' && substr($name, -1) == '/')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user