1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-23 17:34:56 +02:00

MDL-14679 towards /themes conversion

This commit is contained in:
skodak 2008-05-31 11:42:44 +00:00
parent bc3c2336ba
commit 5dd27c57f6

@ -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');
}