]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-11139 "Need to pass courseid or cmid to this script when moving questions between...
authorjamiesensei <jamiesensei>
Wed, 3 Oct 2007 04:42:57 +0000 (04:42 +0000)
committerjamiesensei <jamiesensei>
Wed, 3 Oct 2007 04:42:57 +0000 (04:42 +0000)
question/editlib.php

index e535ac4251195c4d27edea34db7e51975be24755..7daaf5bf52d73354f31acd6ad2522a9f2dfb276a 100644 (file)
@@ -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);