2012-03-26 Hirofumi Kosaka <kosaka@rworks.jp>

* include/functions_api.php: Fixed set_create_plugin_module
	to look proper data in checking input parameters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5834 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
hkosaka 2012-03-26 01:02:52 +00:00
parent 8f56a29064
commit 9f47bd88d3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-03-26 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Fixed set_create_plugin_module
to look proper data in checking input parameters.
2012-03-25 Junichi Satoh <junichi@rworks.jp>
* include/functions_graph.php, operation/events/events_list.php: Fixed

View File

@ -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;
}