From: moodler Date: Tue, 4 Nov 2003 03:35:05 +0000 (+0000) Subject: Removed header redirect for cases where output already occurred X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2b23eea312d4e14352e43344dc9c5b7a5078401d;p=moodle.git Removed header redirect for cases where output already occurred (thougn it shouldn't happen) --- diff --git a/lib/weblib.php b/lib/weblib.php index c6747a567d..e5d41b017d 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1652,8 +1652,7 @@ function redirect($url, $message="", $delay="0") { // Redirects the user to another page, after printing a notice if (empty($message)) { - sleep($delay); - @header("Location: $url"); + echo ""; echo ""; // To cope with Mozilla bug } else { if (empty($delay)) {