From: skodak Date: Sat, 31 May 2008 11:42:44 +0000 (+0000) Subject: MDL-14679 towards /themes conversion X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5dd27c57f615d00e54079f06ac9882ac106af92f;p=moodle.git MDL-14679 towards /themes conversion --- 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'); }