From 88d8fff6d7d938ad35b7e7ed44c1924e2d6ad511 Mon Sep 17 00:00:00 2001 From: scyrma Date: Wed, 19 Mar 2008 08:23:26 +0000 Subject: [PATCH] MDL-13934 - Commit patch by Eloy - prevent display of moodle docs link on redirect pages --- lib/weblib.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/weblib.php b/lib/weblib.php index 4f7b79c3157..b83871ae3c5 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -5340,6 +5340,9 @@ function redirect($url, $message='', $delay=-1, $adminroot = '') { //]]> docroot = false; // to prevent the link to moodle docs from being displayed on redirect page. + // fix for MDL-8517, admin pages redirections causes bad xhtml if ($adminroot) { admin_externalpage_print_footer($adminroot);