]> git.mjollnir.org Git - moodle.git/commitdiff
Fix PHP syntax error. I wish more developers used Eclipse.
authortjhunt <tjhunt>
Thu, 24 Aug 2006 11:22:24 +0000 (11:22 +0000)
committertjhunt <tjhunt>
Thu, 24 Aug 2006 11:22:24 +0000 (11:22 +0000)
course/format/topicsajax/commands.php

index 3a6df6743fbc96344f49c3e3b18df7831224ce92..ec750697e81bbda16ded8d1b4fd02c29d6e54976 100644 (file)
@@ -13,7 +13,7 @@
 
     $courseid = required_param('courseId');
 
-    if (!$course = get_record('course', 'id', $courseid) {
+    if (!$course = get_record('course', 'id', $courseid)) {
         error('Course does not exists');
     }