Fixed parameter type for $confirm

This commit is contained in:
gustav_delius
2006-04-11 22:22:31 +00:00
parent 2e8973e779
commit 89a6e4358a
+1 -1
View 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_') {