Fixed the count of nodes in the enterprise new networkmap.

This commit is contained in:
mdtrooper 2016-05-10 11:49:32 +02:00
parent 26fa0c92e7
commit 414a948871
1 changed files with 2 additions and 1 deletions

View File

@ -41,6 +41,7 @@ require_once($config['homedir'] .'/include/functions_maps.php');
if (enterprise_installed()) {
require_once ($config['homedir'].'/enterprise/include/functions_migration.php');
require_once ($config['homedir'].'/enterprise/include/functions_networkmap_enterprise.php');
}
@ -341,7 +342,7 @@ else {
if (enterprise_installed()) {
if ($networkmap['generated']) {
$data['nodes'] = maps_get_count_nodes($networkmap['id']);
$data['nodes'] = networkmap_enterprise_get_count_nodes($networkmap['id']);
}
else {
$data['nodes'] = __('Pending to generate');