Skip to content

Commit

Permalink
NOBUG: Fixed incorrect use of $OUTPUT, leading to empty page instead …
Browse files Browse the repository at this point in the history
…of an error message
  • Loading branch information
mudrd8mz committed Sep 2, 2009
1 parent c51ca83 commit 9959a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/deprecatedlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 9959a91

Please sign in to comment.