Skip to content
Browse files

MDL-30379 survey module: change clean_param() to clean_param_array()

  • Loading branch information...
1 parent 1de9151 commit ea4721f047d523942a1dcc193006ad7d2e1127f3 @rwijaya rwijaya committed Nov 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/survey/report.php
View
2 mod/survey/report.php
@@ -35,7 +35,7 @@
$notes = optional_param('notes', '', PARAM_RAW); // Save teachers notes
$qids = explode(',', $qid);
- $qids = clean_param($qids, PARAM_INT);
+ $qids = clean_param_array($qids, PARAM_INT);
$qid = implode (',', $qids);
if (! $cm = get_coursemodule_from_id('survey', $id)) {

0 comments on commit ea4721f

Please sign in to comment.
Something went wrong with that request. Please try again.