From 759b77631c3ce18545b3b59dc55358bd12dd70dc Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 2 Mar 2007 03:21:04 +0000 Subject: [PATCH] Fixed $title in print_header (merged from stable) (no bug) --- lib/weblib.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index 379a6931b8..8af5024f3d 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -2199,8 +2199,8 @@ function print_header ($title='', $heading='', $navigation='', $focus='', // Clean up the title + $title = strip_tags(format_string($title)); // fix for MDL-8582 $title = str_replace('"', '"', $title); - $title = strip_tags($title); // Create class and id for this page @@ -2228,8 +2228,6 @@ function print_header ($title='', $heading='', $navigation='', $focus='', $bodytags .= ' class="'.$pageclass.'" id="'.$pageid.'"'; ob_start(); - - $title = format_string($title); // fix for MDL-8582 include($CFG->header); $output = ob_get_contents(); ob_end_clean(); -- 2.39.5