MDL-60579 user: Correct PARAM type for filters

Damyon pointed out during the integration of this fixset, that the
PARAM type is incorrect.
This commit is contained in:
Andrew Nicols 2017-11-09 10:07:10 +08:00
parent 762f8dc1db
commit 7cf4331a6f

View File

@ -106,7 +106,7 @@ echo $OUTPUT->header();
echo $OUTPUT->heading(get_string('participants'));
// Get the currently applied filters.
$filtersapplied = optional_param_array('unified-filters', [], PARAM_TEXT);
$filtersapplied = optional_param_array('unified-filters', [], PARAM_NOTAGS);
$filterwassubmitted = optional_param('unified-filter-submitted', 0, PARAM_BOOL);
// If they passed a role make sure they can view that role.