Merge branch '1368-Problems-with-empty-networkmaps-dev' into 'develop'
Fixed id of pandora node See merge request !873
This commit is contained in:
commit
4cc3f0d426
File diff suppressed because it is too large
Load Diff
|
@ -495,8 +495,13 @@ switch ($tab) {
|
||||||
$count = 0;
|
$count = 0;
|
||||||
|
|
||||||
if (($count == 0) && ($network_map['source'] != 'empty')) {
|
if (($count == 0) && ($network_map['source'] != 'empty')) {
|
||||||
|
if (enterprise_installed() && ($network_map['generated'])) {
|
||||||
|
$data['nodes'] = __('Empty map');
|
||||||
|
}
|
||||||
|
else {
|
||||||
$data['nodes'] = __('Pending to generate');
|
$data['nodes'] = __('Pending to generate');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
$data['nodes'] = $count - 1; //PandoraFMS node is not an agent
|
$data['nodes'] = $count - 1; //PandoraFMS node is not an agent
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue