From 5f546a46f062cb990b40ad290575f5bf6b3274b0 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 21 Oct 2003 06:42:10 +0000 Subject: [PATCH] Slightly nicer code when redirecting --- lib/weblib.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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")." )

"; -- 2.39.5