MDL-79535 mod_quiz: use dummy URL in random questions external call.
It's not required by the external method, however its absence causes debugging warnings about missing page URL in the error logs.
This commit is contained in:
+1
-1
@@ -117,7 +117,7 @@ class add_random_questions extends external_api {
|
||||
$defaultcategory = $defaultcategoryobj->id . ',' . $defaultcategoryobj->contextid;
|
||||
$qcobject = new \qbank_managecategories\question_category_object(
|
||||
null,
|
||||
null,
|
||||
new \moodle_url('/'),
|
||||
$contexts->having_one_edit_tab_cap('categories'),
|
||||
$defaultcategoryobj->id,
|
||||
$defaultcategory,
|
||||
|
||||
Reference in New Issue
Block a user