Merge branch 'MDL-45074-master' of git://github.com/ankitagarwal/moodle
authorDan Poltawski <dan@moodle.com>
Tue, 15 Apr 2014 03:38:01 +0000 (11:38 +0800)
committerDan Poltawski <dan@moodle.com>
Tue, 15 Apr 2014 03:38:01 +0000 (11:38 +0800)
report/loglive/classes/table_log.php

index 489d8fb..04614b6 100644 (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;
         }