Skip to content

Commit

Permalink
MDL-51536 webservices: fix invalid param definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Oct 13, 2015
1 parent b6b07a3 commit 0a64621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notes/externallib.php
Expand Up @@ -466,7 +466,7 @@ public static function get_course_notes_parameters() {
return new external_function_parameters(
array(
'courseid' => new external_value(PARAM_INT, 'course id, 0 for SITE'),
'userid' => new external_value(PARAM_INT, 'user id', VALUE_OPTIONAL),
'userid' => new external_value(PARAM_INT, 'user id', VALUE_DEFAULT, 0),
)
);
}
Expand Down

0 comments on commit 0a64621

Please sign in to comment.