mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
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:
parent
6038891ac5
commit
d2b05f3d3c
@ -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>
|
2014-04-03 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* godmode/agentes/module_manager_editor.php,
|
* godmode/agentes/module_manager_editor.php,
|
||||||
|
@ -354,19 +354,21 @@ function networkmap_generate_dot ($pandora_name, $group = 0,
|
|||||||
$module_type = modules_get_agentmodule_type($id_module);
|
$module_type = modules_get_agentmodule_type($id_module);
|
||||||
if ($module_type != 18) {
|
if ($module_type != 18) {
|
||||||
unset($nodes[$node_count]);
|
unset($nodes[$node_count]);
|
||||||
unset($orphans[$node_id]);
|
unset($orphans[$node_count]);
|
||||||
unset($parents[$node_count]);
|
unset($parents[$node_count]);
|
||||||
}
|
}
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
unset($nodes[$node_count]);
|
unset($nodes[$node_count]);
|
||||||
unset($orphans[$node_id]);
|
unset($orphans[$node_count]);
|
||||||
unset($parents[$node_count]);
|
unset($parents[$node_count]);
|
||||||
}
|
}
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
$module_type = modules_get_agentmodule_type($id_module);
|
$module_type = modules_get_agentmodule_type($id_module);
|
||||||
if ($module_type != 18) {
|
if ($module_type != 18) {
|
||||||
unset($nodes[$node_count]);
|
unset($nodes[$node_count]);
|
||||||
unset($orphans[$node_id]);
|
unset($orphans[$node_count]);
|
||||||
unset($parents[$node_count]);
|
unset($parents[$node_count]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user