From: tjhunt Date: Tue, 27 May 2008 10:35:13 +0000 (+0000) Subject: MDL-14593 - delete icons in the question bank do not work. This was a regression... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5412cd289a3505b7c8cde157d56572b43affe88d;p=moodle.git 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. --- 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