diff --git a/infolog/inc/class.infolog_bo.inc.php b/infolog/inc/class.infolog_bo.inc.php index bf7cdc025b..13e5c19023 100644 --- a/infolog/inc/class.infolog_bo.inc.php +++ b/infolog/inc/class.infolog_bo.inc.php @@ -191,7 +191,7 @@ class infolog_bo { $this->status[$key] = array(); } - $this->status[$key] = array_merge($this->status[$key],$config_data['status'][$key]); + $this->status[$key] = array_merge($this->status[$key],(array)$config_data['status'][$key]); } } if (isset($config_data['types']) && is_array($config_data['types'])) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index 6e7b5191d4..bc21c684a9 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -442,7 +442,7 @@ class infolog_ui $rows['sel_options']['info_status'] = array(); foreach($this->bo->status as $typ => $stati) { - if ($typ != 'defaults') $rows['sel_options']['info_status'] += $stati; + if ($typ != 'defaults' && !empty($stati)) $rows['sel_options']['info_status'] += $stati; } } if ($this->bo->history)