Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix selection of individual students in the report conditions selecto…

…r panel, (use PARAM_ALPHANUM instead of PARAM_ALPHA for reportusers parameter)
  • Loading branch information...
commit 94bbc1f5e2f1e94907002ec34aebf3982bb85330 1 parent 4610edf
gbateson authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  mod/hotpot/report.php
2  mod/hotpot/report.php
@@ -51,7 +51,7 @@
51 51 // assemble array of form data
52 52 $formdata = array(
53 53 'mode' => $mode,
54   - 'reportusers' => has_capability('mod/hotpot:viewreport',$modulecontext) ? optional_param('reportusers', get_user_preferences('hotpot_reportusers', 'allusers'), PARAM_ALPHA) : 'this',
  54 + 'reportusers' => has_capability('mod/hotpot:viewreport',$modulecontext) ? optional_param('reportusers', get_user_preferences('hotpot_reportusers', 'allusers'), PARAM_ALPHANUM) : 'this',
55 55 'reportattempts' => optional_param('reportattempts', get_user_preferences('hotpot_reportattempts', 'all'), PARAM_ALPHA),
56 56 'reportformat' => optional_param('reportformat', 'htm', PARAM_ALPHA),
57 57 'reportshowlegend' => optional_param('reportshowlegend', get_user_preferences('hotpot_reportshowlegend', '0'), PARAM_INT),

0 comments on commit 94bbc1f

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