Permalink
Browse files

MDL-58123 mod_lesson: Fix lesson table name in refresh_events DB query

  • Loading branch information...
junpataleta committed Mar 2, 2017
1 parent d0209e6 commit 14026572ae11df28c5f1efa3f32adfbfdf36e85f
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/lesson/lib.php
View
@@ -241,7 +241,7 @@ function lesson_refresh_events($courseid = 0) {
global $DB;
if ($courseid == 0) {
if (!$lessons = $DB->get_records('lessons')) {
if (!$lessons = $DB->get_records('lesson')) {
return true;
}
} else {

0 comments on commit 1402657

Please sign in to comment.