diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index ebcfbd9a37..d3df4dd070 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2011-09-08 Miguel de Dios + + * include/functions_api.php: fixed the array key for module name. + 2011-09-08 Miguel de Dios * include/functions_api.php: fixed in function "otherParameter2Filter" the diff --git a/pandora_console/include/functions_api.php b/pandora_console/include/functions_api.php index ded437bc33..fa0563453e 100644 --- a/pandora_console/include/functions_api.php +++ b/pandora_console/include/functions_api.php @@ -839,7 +839,7 @@ function otherParameter2Filter($other) { $idAgentModulo = null; if ($other['data'][3] != '') { - $filterModule = array('nombre' => $other['data'][2]); + $filterModule = array('nombre' => $other['data'][3]); if ($idAgent != null) { $filter['id_agente'] = $idAgent; }