From ca7ad7ee74352830d73655424934ed8393f318c8 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 19 Mar 2007 03:02:14 +0000 Subject: [PATCH] Merged error() fix from stable --- course/request.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/course/request.php b/course/request.php index a81803c6e1..4858759f8f 100644 --- a/course/request.php +++ b/course/request.php @@ -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(); -?> \ No newline at end of file +?> -- 2.39.5