mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 05:25:08 +02:00
MDL-79681 user: fix conditional to get the last access to a course
This commit is contained in:
parent
9587029a46
commit
5db1724a05
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user