fixed global DB
authorPetr Skoda <skodak@moodle.org>
Sat, 18 Sep 2010 12:49:43 +0000 (12:49 +0000)
committerPetr Skoda <skodak@moodle.org>
Sat, 18 Sep 2010 12:49:43 +0000 (12:49 +0000)
mod/feedback/lib.php

index 97ec41e..0a56c3b 100644 (file)
@@ -2314,7 +2314,7 @@ function feedback_is_course_in_sitecourse_map($feedbackid, $courseid) {
  * @return boolean
  */
 function feedback_is_feedback_in_sitecourse_map($feedbackid) {
-    global $Db;
+    global $DB;
     return $DB->record_exists('feedback_sitecourse_map', array('feedbackid'=>$feedbackid));
 }