From: moodler Date: Fri, 2 Mar 2007 03:21:04 +0000 (+0000) Subject: Fixed $title in print_header (merged from stable) (no bug) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=759b77631c3ce18545b3b59dc55358bd12dd70dc;p=moodle.git Fixed $title in print_header (merged from stable) (no bug) --- 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();