From be801b8b3afd80b3eb66d86577b98c8dd039fdac Mon Sep 17 00:00:00 2001 From: jamiesensei Date: Wed, 3 Oct 2007 04:42:57 +0000 Subject: [PATCH] MDL-11139 "Need to pass courseid or cmid to this script when moving questions between categories " added COURSE to globals in function that redirects browser to contextmoveq page. --- question/editlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/editlib.php b/question/editlib.php index e535ac4251..7daaf5bf52 100644 --- a/question/editlib.php +++ b/question/editlib.php @@ -412,7 +412,7 @@ function question_sort_options($pageurl, $sortorder){ } function question_showbank_actions($pageurl, $cm){ - global $CFG; + global $CFG, $COURSE; /// Now, check for commands on this page and modify variables as necessary if (isset($_REQUEST['move']) and confirm_sesskey()) { /// Move selected questions to new category $category = required_param('category', PARAM_SEQUENCE); -- 2.39.5