MDL-14679 fixed DML

This commit is contained in:
skodak
2009-03-28 15:59:26 +00:00
parent 1b3f759ae2
commit 76b7b5925d
+1 -1
View File
@@ -182,7 +182,7 @@ function feedback_get_recent_mod_activity(&$activities, &$index, $timemodified,
if ($COURSE->id == $courseid) {
$course = $COURSE;
} else {
$course = get_record('course', 'id', $courseid);
$course = $DB->get_record('course', array('id'=>$courseid));
}
$modinfo =& get_fast_modinfo($course);