Skip to content

Commit

Permalink
MDL-79681 user: fix conditional to get the last access to a course
Browse files Browse the repository at this point in the history
  • Loading branch information
vmdef authored and paulholden committed Jan 5, 2024
1 parent 9587029 commit 5db1724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/classes/output/participants_filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ protected function get_accesssince_filter(): ?stdClass {

// 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,
Expand Down

0 comments on commit 5db1724

Please sign in to comment.