MDL-79681 user: fix conditional to get the last access to a course

This commit is contained in:
Víctor Déniz
2024-01-05 13:55:54 +00:00
committed by Paul Holden
parent 4e2b5137f4
commit 6fb76aa958
+1 -1
View File
@@ -229,7 +229,7 @@ class participants_filter extends \core\output\datafilter {
// Get minimum lastaccess for this course and display a dropbox to filter by lastaccess going back this far.
// We need to make it diferently for normal courses and site course.
if (!$this->course->id == SITEID) {
if (!($this->course->id == SITEID)) {
// Regular course.
$params = [
'courseid' => $this->course->id,