From: mudrd8mz Date: Wed, 2 Sep 2009 22:04:32 +0000 (+0000) Subject: NOBUG: Fixed incorrect use of $OUTPUT, leading to empty page instead of an error... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9959a91565919df55a38f934c6db3338191389b3;p=moodle.git NOBUG: Fixed incorrect use of $OUTPUT, leading to empty page instead of an error message --- diff --git a/lib/deprecatedlib.php b/lib/deprecatedlib.php index e7d2d71ab1..0ecc9133a9 100644 --- a/lib/deprecatedlib.php +++ b/lib/deprecatedlib.php @@ -591,7 +591,7 @@ function error($message, $link='') { } list($message, $moreinfourl, $link) = prepare_error_message('notlocalisederrormessage', 'error', $link, $message); - $OUTPUT->fatal_error($message, $moreinfourl, $link, debug_backtrace(), null, true); // show debug warning + echo $OUTPUT->fatal_error($message, $moreinfourl, $link, debug_backtrace(), null, true); // show debug warning die; }