MDL-45074 report_loglive Fix parameter typo

This commit is contained in:
Ankit Agarwal 2014-04-14 16:31:54 +08:00
parent af8a43248e
commit 521d9d74e5

View File

@ -319,7 +319,7 @@ class report_loglive_table_log extends table_sql {
$params['date'] = $this->filterparams->date;
}
if (!empty($this->filterparams->date)) {
if (isset($this->filterparams->anonymous)) {
$joins[] = "anonymous = :anon";
$params['anon'] = $this->filterparams->anonymous;
}