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:
Dan Poltawski 2015-11-26 14:53:15 +00:00
parent c18acb8997
commit 4dc29f5e8d

View File

@ -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();