fix for bug, that empty arrays are returned as serialized empty array and not an empty array

This commit is contained in:
Ralf Becker 2005-11-08 08:12:30 +00:00
parent a0beab57d4
commit 709ef070c9

View File

@ -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;
}