From 2fe0d172f8d1199099ea994d5be91544e5c7d695 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Thu, 24 Aug 2006 11:22:24 +0000 Subject: [PATCH] Fix PHP syntax error. I wish more developers used Eclipse. --- course/format/topicsajax/commands.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/format/topicsajax/commands.php b/course/format/topicsajax/commands.php index 3a6df6743f..ec750697e8 100644 --- a/course/format/topicsajax/commands.php +++ b/course/format/topicsajax/commands.php @@ -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'); } -- 2.39.5