From: gustav_delius Date: Tue, 11 Apr 2006 22:22:31 +0000 (+0000) Subject: Fixed parameter type for $confirm X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=89a6e4358a3532be5a79e2e66d57482196af6edd;p=moodle.git Fixed parameter type for $confirm --- diff --git a/question/question.php b/question/question.php index 73d7b7f835..514ae770c3 100644 --- a/question/question.php +++ b/question/question.php @@ -32,7 +32,7 @@ $category = optional_param('category', 0, PARAM_INT); $delete = optional_param('delete', 0, PARAM_INT); - $confirm = optional_param('confirm', 0, PARAM_INT); + $confirm = optional_param('confirm', 0, PARAM_ALPHANUM); // rqp questions set the type to rqp_nn where nn is the rqp_type id if (substr($qtype, 0, 4) == 'rqp_') {