Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

accidently left in debugging stuff in stats reports

  • Loading branch information...
commit 32baf47939cee07996d20c63beb176bba26dbd06 1 parent 0500203
mjollnir_ authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  course/report/stats/graph.php
  2. +1 −1  course/report/stats/report.php
View
2  course/report/stats/graph.php
@@ -37,7 +37,7 @@
}
$sql = 'SELECT '.((empty($param->fieldscomplete)) ? 'id,roleid,timeend,' : '').$param->fields
- .' FROM '.$CFG->prefix.'stats_'.$param->table.'_tmp WHERE '
+ .' FROM '.$CFG->prefix.'stats_'.$param->table.' WHERE '
.(($course->id == SITEID) ? '' : ' courseid = '.$course->id.' AND ')
.((!empty($userid)) ? ' userid = '.$userid.' AND ' : '')
.((!empty($roleid)) ? ' roleid = '.$roleid.' AND ' : '')
View
2  course/report/stats/report.php
@@ -103,7 +103,7 @@
$param->table = 'user_'.$param->table;
}
$sql = 'SELECT '.((empty($param->fieldscomplete)) ? 'id,roleid,timeend,' : '').$param->fields
- .' FROM '.$CFG->prefix.'stats_'.$param->table.'_tmp WHERE '
+ .' FROM '.$CFG->prefix.'stats_'.$param->table.' WHERE '
.(($course->id == SITEID) ? '' : ' courseid = '.$course->id.' AND ')
.((!empty($userid)) ? ' userid = '.$userid.' AND ' : '')
.((!empty($roleid)) ? ' roleid = '.$roleid.' AND ' : '')
Please sign in to comment.
Something went wrong with that request. Please try again.