From 89a6e4358a3532be5a79e2e66d57482196af6edd Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Tue, 11 Apr 2006 22:22:31 +0000 Subject: [PATCH] Fixed parameter type for $confirm --- question/question.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_') { -- 2.39.5