mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-10089 - Cannot delete questions from question bank - Thanks to Adriane Boyd for the fix.
This commit is contained in:
parent
e765b5d377
commit
da1cc34073
@ -401,7 +401,7 @@ function question_list($course, $pageurl, $categoryid, $cm = null,
|
||||
* @param moodle_url $pageurl object representing this pages url.
|
||||
*/
|
||||
function question_showbank($pageurl, $cm, $page, $perpage, $sortorder, $sortorderdecoded, $cat, $recurse, $showhidden, $showquestiontext){
|
||||
global $COURSE;
|
||||
global $COURSE, $USER;
|
||||
|
||||
/// 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user