From 5412cd289a3505b7c8cde157d56572b43affe88d Mon Sep 17 00:00:00 2001 From: tjhunt Date: Tue, 27 May 2008 10:35:13 +0000 Subject: [PATCH] MDL-14593 - delete icons in the question bank do not work. This was a regression caused by part of the fix for MDL-13982. I hvae reverted that bit for now, pending a better solution. --- question/editlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/editlib.php b/question/editlib.php index 33d95fcc56..05c8d7a6da 100644 --- a/question/editlib.php +++ b/question/editlib.php @@ -523,7 +523,7 @@ function question_showbank($tabname, $contexts, $pageurl, $cm, $page, $perpage, if (optional_param('deleteselected', false, PARAM_BOOL)){ // teacher still has to confirm // make a list of all the questions that are selected - $rawquestions = (array) data_submitted(); + $rawquestions = $_REQUEST; // This code is called by both POST forms and GET links, so cannot use data_submitted. $questionlist = ''; // comma separated list of ids of questions to be deleted $questionnames = ''; // string with names of questions separated by
with // an asterix in front of those that are in use -- 2.39.5