diff --git a/lib/classes/report_helper.php b/lib/classes/report_helper.php index 5e7ced06ba4ac..8292823b7d7e4 100644 --- a/lib/classes/report_helper.php +++ b/lib/classes/report_helper.php @@ -157,6 +157,7 @@ public static function get_group_filter(stdClass $filterparams): array { } else { $joins[] = "userid = :userid"; $params['userid'] = $filterparams->userid; + $useridfilter[$filterparams->userid] = true; } return [