From 2959db4a2bb854088b9b4e72e6d8c06b9751ffa1 Mon Sep 17 00:00:00 2001 From: Eloy Lafuente Date: Wed, 8 Sep 2010 16:56:42 +0000 Subject: [PATCH] MDL-16106 report - fix old double-column trick causing problems in backup logs. Merged from 19_STABLE --- admin/report/backups/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/report/backups/index.php b/admin/report/backups/index.php index 5a425d1aa70..104d3d861b1 100644 --- a/admin/report/backups/index.php +++ b/admin/report/backups/index.php @@ -93,7 +93,7 @@ echo $OUTPUT->box_start(); /// First, me get all the distinct backups for that course in backup_log - $executions = $DB->get_records_sql("SELECT DISTINCT laststarttime,laststarttime + $executions = $DB->get_records_sql("SELECT DISTINCT laststarttime FROM {backup_log} WHERE courseid = ? AND backuptype = ? ORDER BY laststarttime DESC", array($courseid,'scheduledbackup')); -- 2.43.0