From edf6db654780a75d4d004b136c916aedd1b5bebf Mon Sep 17 00:00:00 2001 From: Juan Leyva Date: Thu, 3 Sep 2015 15:02:20 +0200 Subject: [PATCH] MDL-51281 completion: Fixed incorrect returned parameter type Parameter status in external function get_course_completion_status --- completion/classes/external.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/completion/classes/external.php b/completion/classes/external.php index d464901ca3c..dc57b662ffc 100644 --- a/completion/classes/external.php +++ b/completion/classes/external.php @@ -365,7 +365,7 @@ class core_completion_external extends external_api { 'type' => new external_value(PARAM_TEXT, 'Type description'), 'criteria' => new external_value(PARAM_RAW, 'Criteria description'), 'requirement' => new external_value(PARAM_TEXT, 'Requirement description'), - 'status' => new external_value(PARAM_TEXT, 'Status description'), + 'status' => new external_value(PARAM_RAW, 'Status description, can be anything'), ), 'details'), ), 'Completions' ), ''