From c9aced0f8154ca1fc7b5778af231c93a8f327600 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Thu, 22 Aug 2013 10:05:25 +1200 Subject: [PATCH] fix another typo --- locallib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locallib.php b/locallib.php index e09cff9..1975b0b 100644 --- a/locallib.php +++ b/locallib.php @@ -1396,7 +1396,7 @@ function attforblock_upgrade() { $DB->update_record('modules', $module); // Clear cache for courses with attendances. - $attendances = $DB->get_recordset('attendance', array(), '', 'courseid'); + $attendances = $DB->get_recordset('attendance', array(), '', 'course'); foreach ($attendances as $attendance) { rebuild_course_cache($attendance->course, true); }