mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
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.
This commit is contained in:
parent
45b39af803
commit
be801b8b3a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user