From: moodler Date: Mon, 19 Mar 2007 03:02:14 +0000 (+0000) Subject: Merged error() fix from stable X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ca7ad7ee74352830d73655424934ed8393f318c8;p=moodle.git Merged error() fix from stable --- 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 +?>