diff --git a/pandora_console/include/class/Tree.class.php b/pandora_console/include/class/Tree.class.php index aec55d97c7..a15d01d098 100644 --- a/pandora_console/include/class/Tree.class.php +++ b/pandora_console/include/class/Tree.class.php @@ -600,7 +600,7 @@ class Tree if (is_metaconsole()) { $module['serverID'] = $this->serverID; - $module['serverName'] = $this->serverName; + $module['serverName'] = empty($this->serverName) === false ? $this->serverName : servers_get_name($this->serverID); } else { $module['serverName'] = false; $module['serverID'] = false;