From: moodler Date: Tue, 21 Oct 2003 06:42:10 +0000 (+0000) Subject: Slightly nicer code when redirecting X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5f546a46f062cb990b40ad290575f5bf6b3274b0;p=moodle.git Slightly nicer code when redirecting --- diff --git a/lib/weblib.php b/lib/weblib.php index c994c3f0a3..ff0ec5b697 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1632,8 +1632,7 @@ function redirect($url, $message="", $delay="0") { if (empty($delay)) { $delay = 3; // There's no point having a message with no delay } - echo ""; - print_header(); + print_header("", "", "", "", ""); echo "
"; echo "

$message

"; echo "

( ".get_string("continue")." )

";