Fixed id of pandora node

This commit is contained in:
Arturo Gonzalez 2017-10-03 10:32:22 +02:00
parent 7b3a0d49f1
commit 65bfedf404
2 changed files with 1471 additions and 1463 deletions

View File

@ -495,7 +495,12 @@ switch ($tab) {
$count = 0;
if (($count == 0) && ($network_map['source'] != 'empty')) {
$data['nodes'] = __('Pending to generate');
if (enterprise_installed() && ($network_map['generated'])) {
$data['nodes'] = __('Empty map');
}
else {
$data['nodes'] = __('Pending to generate');
}
}
else {
$data['nodes'] = $count - 1; //PandoraFMS node is not an agent