]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14679 towards /themes conversion
authorskodak <skodak>
Sat, 31 May 2008 11:42:44 +0000 (11:42 +0000)
committerskodak <skodak>
Sat, 31 May 2008 11:42:44 +0000 (11:42 +0000)
theme/chameleon/ui/css.php

index 258fab8e1058ec027ca547e94e535cd11c570d0c..d7bd0fc56505f550eaf274709b0c9c065a03315a 100644 (file)
@@ -9,7 +9,7 @@ if (empty($THEME->chameleonenabled)) {
 }
 
 $id = optional_param('id', SITEID, PARAM_INT);
-if (!$course = get_record('course', 'id', $id)) {
+if (!$course = $DB->get_record('course', array('id'=>$id))) {
     print_error('Incorrect course id');
 }