diff --git a/pandora_console/include/class/Tree.class.php b/pandora_console/include/class/Tree.class.php index 982a5dd976..3d0754af69 100644 --- a/pandora_console/include/class/Tree.class.php +++ b/pandora_console/include/class/Tree.class.php @@ -1137,7 +1137,11 @@ class Tree { $module['serverID'] = $server['id']; $module['serverName'] = $server['server_name']; } - + else{ + $module['serverName'] = false; + $module['serverID'] = false; + } + if (!isset($module['value'])) $module['value'] = modules_get_last_value($module['id']);