From: moodler Date: Mon, 3 Nov 2003 03:13:14 +0000 (+0000) Subject: More redirect tweaks X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8a55c98423d99b5b62ae5b9b00c5143d2bf1e375;p=moodle.git More redirect tweaks --- diff --git a/lib/weblib.php b/lib/weblib.php index 457d0f42cd..1ee5786dbf 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1669,7 +1669,8 @@ function redirect($url, $message="", $delay="0") { if (empty($message)) { sleep($delay); - header("Location: $url"); + @header("Location: $url"); + echo ""; // To cope with Mozilla bug } else { if (empty($delay)) { $delay = 3; // There's no point having a message with no delay