mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
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,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user