diff --git a/phpgwapi/inc/class.config.inc.php b/phpgwapi/inc/class.config.inc.php index 5b5c648403..5a50c701f3 100755 --- a/phpgwapi/inc/class.config.inc.php +++ b/phpgwapi/inc/class.config.inc.php @@ -304,7 +304,7 @@ class config protected static function unserialize($str) { // handling of new json-encoded arrays - if ($str[0] == '{' && $str[0] != '[') + if ($str[0] == '{' || $str[0] == '[') { return json_decode($str, true); }