2014-04-03 Miguel de Dios <miguel.dedios@artica.es>

* include/functions_networkmap.php: fixed the PHP warning.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9717 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2014-04-03 16:29:51 +00:00
parent 6038891ac5
commit d2b05f3d3c
2 changed files with 15 additions and 9 deletions

View File

@ -1,3 +1,7 @@
2014-04-03 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_networkmap.php: fixed the PHP warning.
2014-04-03 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor.php,

View File

@ -354,19 +354,21 @@ function networkmap_generate_dot ($pandora_name, $group = 0,
$module_type = modules_get_agentmodule_type($id_module);
if ($module_type != 18) {
unset($nodes[$node_count]);
unset($orphans[$node_id]);
unset($orphans[$node_count]);
unset($parents[$node_count]);
}
} else {
}
else {
unset($nodes[$node_count]);
unset($orphans[$node_id]);
unset($orphans[$node_count]);
unset($parents[$node_count]);
}
} else {
}
else {
$module_type = modules_get_agentmodule_type($id_module);
if ($module_type != 18) {
unset($nodes[$node_count]);
unset($orphans[$node_id]);
unset($orphans[$node_count]);
unset($parents[$node_count]);
}
}