mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
Merged error() fix from stable
This commit is contained in:
parent
c2c54ac0fd
commit
ca7ad7ee74
@ -12,7 +12,7 @@
|
||||
}
|
||||
|
||||
if (empty($CFG->enablecourserequests)) {
|
||||
error(get_string('courserequestdisabled'));
|
||||
print_error('courserequestdisabled');
|
||||
}
|
||||
|
||||
$requestform = new course_request_form();
|
||||
@ -45,4 +45,4 @@
|
||||
|
||||
print_footer();
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user