Skip to content

Commit

Permalink
StudentQuiz: Fix wrong param declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
hieuvu committed Oct 2, 2023
1 parent 7891b64 commit 9a7e85e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/local/external/get_comments_api.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public static function get_comments_parameters() {
'cmid' => new external_value(PARAM_INT, 'Cm ID'),
'numbertoshow' => new external_value(PARAM_INT, 'Number of comments to show, 0 will return all comments/replies',
VALUE_DEFAULT, container::NUMBER_COMMENT_TO_SHOW_BY_DEFAULT),
'sort' => new external_value(PARAM_TEXT, 'Sort type', false),
'sort' => new external_value(PARAM_TEXT, 'Sort type'),
'type' => new external_value(PARAM_INT, 'Comment type', VALUE_DEFAULT, utils::COMMENT_TYPE_PUBLIC)
]);
}
Expand Down

0 comments on commit 9a7e85e

Please sign in to comment.