Permalink
Browse files

Merge branch 'MDL-29471-MOODLE_22_STABLE' of git://github.com/mouneyr…

…ac/moodle into MOODLE_22_STABLE
  • Loading branch information...
nebgor committed Feb 14, 2012
2 parents 4e01042 + 049c70e commit bef142834536a6a3be7e5fcd96ad4fc83fbf10f9
Showing with 2 additions and 2 deletions.
  1. +1 −1 admin/webservice/forms.php
  2. +1 −1 admin/webservice/service_functions.php
@@ -160,7 +160,7 @@ function definition() {
$functions[$functionid] = $function->name . ':' . $function->description;
}
- $mform->addElement('searchableselector', 'fid', get_string('name'),
+ $mform->addElement('searchableselector', 'fids', get_string('name'),
$functions, array('multiple'));
$mform->addElement('hidden', 'id');
@@ -67,7 +67,7 @@
//add the function to the service then redirect to function list page
if ($data = $mform->get_data()) {
ignore_user_abort(true); // no interruption here!
- foreach ($data->fid as $fid) {
+ foreach ($data->fids as $fid) {
$function = $webservicemanager->get_external_function_by_id(
$fid, MUST_EXIST);
// make sure the function is not there yet

0 comments on commit bef1428

Please sign in to comment.