From 5dd27c57f615d00e54079f06ac9882ac106af92f Mon Sep 17 00:00:00 2001 From: skodak Date: Sat, 31 May 2008 11:42:44 +0000 Subject: [PATCH] MDL-14679 towards /themes conversion --- theme/chameleon/ui/css.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/chameleon/ui/css.php b/theme/chameleon/ui/css.php index 258fab8e10..d7bd0fc565 100644 --- a/theme/chameleon/ui/css.php +++ b/theme/chameleon/ui/css.php @@ -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'); } -- 2.39.5