From 709ef070c9cf53744e68c296ad8daed63c7b0876 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 8 Nov 2005 08:12:30 +0000 Subject: [PATCH] fix for bug, that empty arrays are returned as serialized empty array and not an empty array --- phpgwapi/inc/class.config.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.config.inc.php b/phpgwapi/inc/class.config.inc.php index 01710bafe8..180670aa3f 100755 --- a/phpgwapi/inc/class.config.inc.php +++ b/phpgwapi/inc/class.config.inc.php @@ -61,7 +61,7 @@ while ($this->db->next_record()) { $test = @unserialize($this->db->f('config_value')); - if($test) + if(is_array($test)) { $this->config_data[$this->db->f('config_name')] = $test; }