diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index dd68cd3fcb..83e4b6219e 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-03-26 Hirofumi Kosaka + + * include/functions_api.php: Fixed set_create_plugin_module + to look proper data in checking input parameters. + 2012-03-25 Junichi Satoh * include/functions_graph.php, operation/events/events_list.php: Fixed diff --git a/pandora_console/include/functions_api.php b/pandora_console/include/functions_api.php index ad60ab6b2f..fb9ded3876 100644 --- a/pandora_console/include/functions_api.php +++ b/pandora_console/include/functions_api.php @@ -1179,7 +1179,7 @@ function set_update_network_module($id_module, $thrash1, $other, $thrash3){ function set_create_plugin_module($id, $thrash1, $other, $thrash3) { $agentName = $id; - if ($other['data'][23] == ""){ + if ($other['data'][22] == ""){ returnError('error_create_plugin_module', __('Error in creation plugin module. Id_plugin cannot be left blank.')); return; }