Skip to content

Commit

Permalink
MDL-30379 survey module: change clean_param() to clean_param_array()
Browse files Browse the repository at this point in the history
  • Loading branch information
Rossiani Wijaya committed Nov 28, 2011
1 parent 1de9151 commit ea4721f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/survey/report.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
$notes = optional_param('notes', '', PARAM_RAW); // Save teachers notes $notes = optional_param('notes', '', PARAM_RAW); // Save teachers notes


$qids = explode(',', $qid); $qids = explode(',', $qid);
$qids = clean_param($qids, PARAM_INT); $qids = clean_param_array($qids, PARAM_INT);
$qid = implode (',', $qids); $qid = implode (',', $qids);


if (! $cm = get_coursemodule_from_id('survey', $id)) { if (! $cm = get_coursemodule_from_id('survey', $id)) {
Expand Down

0 comments on commit ea4721f

Please sign in to comment.