mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-48004 question: prevent notices on import screen
If query params were not passed the page would previously display debug notices as setting the $requirecourseid param to question_edit_setup() was buggy.
This commit is contained in:
parent
c18acb8997
commit
4dc29f5e8d
@ -30,7 +30,7 @@ require_once($CFG->dirroot . '/question/import_form.php');
|
||||
require_once($CFG->dirroot . '/question/format.php');
|
||||
|
||||
list($thispageurl, $contexts, $cmid, $cm, $module, $pagevars) =
|
||||
question_edit_setup('import', '/question/import.php', false, false);
|
||||
question_edit_setup('import', '/question/import.php');
|
||||
|
||||
// get display strings
|
||||
$txt = new stdClass();
|
||||
|
Loading…
x
Reference in New Issue
Block a user