-
Bug
-
Resolution: Fixed
-
Minor
-
2.7
-
MOODLE_27_STABLE
-
MOODLE_27_STABLE
-
MDL-45074-master -
The following code found
https://github.com/moodle/moodle/blob/master/report/loglive/classes/table_log.php#L322
// Set up filtering.
|
if (!empty($this->filterparams->courseid)) {
|
$joins[] = "courseid = :courseid";
|
$params['courseid'] = $this->filterparams->courseid;
|
}
|
|
if (!empty($this->filterparams->date)) {
|
$joins[] = "timecreated > :date";
|
$params['date'] = $this->filterparams->date;
|
}
|
|
if (!empty($this->filterparams->date)) {
|
$joins[] = "anonymous = :anon";
|
$params['anon'] = $this->filterparams->anonymous;
|
}
|
Simple copy-pasting error. Needs to be fixed and tested.