Skip to content

Commit

Permalink
MDL-45978 logging - added missing parameter id
Browse files Browse the repository at this point in the history
  • Loading branch information
grabs committed Jun 17, 2014
1 parent 337075d commit ec4e78a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions report/log/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
$edulevel = optional_param('edulevel', -1, PARAM_INT); // Educational level.

$params = array();
if ($id !== 0) {
$params['id'] = $id;
}
if ($group !== 0) {
$params['group'] = $group;
}
Expand Down

0 comments on commit ec4e78a

Please sign in to comment.