Skip to content

Commit

Permalink
MDL-35859 core_grade:fixed an optional parameter call to use the arra…
Browse files Browse the repository at this point in the history
…y version
  • Loading branch information
andyjdavis committed May 13, 2013
1 parent c9827a9 commit 6250057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grade/edit/tree/calculation.php
Expand Up @@ -30,7 +30,7 @@
$courseid = required_param('courseid', PARAM_INT);
$id = required_param('id', PARAM_INT);
$section = optional_param('section', 'calculation', PARAM_ALPHA);
$idnumbers = optional_param('idnumbers', null, PARAM_RAW);
$idnumbers = optional_param_array('idnumbers', null, PARAM_RAW);

$url = new moodle_url('/grade/edit/tree/calculation.php', array('id'=>$id, 'courseid'=>$courseid));
if ($section !== 'calculation') {
Expand Down

0 comments on commit 6250057

Please sign in to comment.