]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed parameter type for $confirm
authorgustav_delius <gustav_delius>
Tue, 11 Apr 2006 22:22:31 +0000 (22:22 +0000)
committergustav_delius <gustav_delius>
Tue, 11 Apr 2006 22:22:31 +0000 (22:22 +0000)
question/question.php

index 73d7b7f835ffadb074c8998ed4364ae8056bc5f7..514ae770c30f247db52635f7b5949febd6184c76 100644 (file)
@@ -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_') {