CONTRIB-775 reverting

This commit is contained in:
nicolasconnault 2008-11-20 15:26:40 +00:00
parent bf8a832252
commit 87c53ef598

View File

@ -34,7 +34,7 @@ $eid = optional_param('eid', 0, PARAM_ALPHANUM);
/// Make sure they can even access this course
if (!$course = $DB->get_record('course', array('id' => $courseid))) {
if (!$course = get_record('course', 'id', $courseid)) {
print_error('nocourseid');
}