mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
fix for bug, that empty arrays are returned as serialized empty array and not an empty array
This commit is contained in:
parent
a0beab57d4
commit
709ef070c9
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user