2012-10-11 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/reporting/graph_builder.php: Fixed a problem with entities and custom graph wizard to add new modules. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7068 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
55fe5262bc
commit
99a77e2596
|
@ -1,3 +1,8 @@
|
|||
2012-10-11 Dario Rodriguez <dario.rodriguez@artica.es>
|
||||
|
||||
* godmode/reporting/graph_builder.php: Fixed a problem
|
||||
with entities and custom graph wizard to add new modules.
|
||||
|
||||
2012-10-11 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/ajax/networkmap.ajax.php: added the code for the
|
||||
|
|
|
@ -140,6 +140,14 @@ if ($add_module) {
|
|||
$id_agents = get_parameter('id_agents');
|
||||
$weight = get_parameter('weight');
|
||||
|
||||
//Id modules has double entities conversion
|
||||
//Safe output remove all entities
|
||||
io_safe_output_array($id_modules, "");
|
||||
|
||||
//We need to put the entities again
|
||||
//to browse in db
|
||||
io_safe_input_array($id_modules);
|
||||
|
||||
$id_agent_modules = db_get_all_rows_sql("SELECT id_agente_modulo FROM tagente_modulo WHERE id_agente IN (".
|
||||
implode(',', $id_agents).
|
||||
") AND nombre IN ('".
|
||||
|
|
Loading…
Reference in New Issue