fix for MDL-8582, adding s() to $title in print_header()

This commit is contained in:
toyomoyo
2007-02-23 05:57:58 +00:00
parent 4404eb3b01
commit 4bba5a6f44
+1
View File
@@ -2194,6 +2194,7 @@ function print_header ($title='', $heading='', $navigation='', $focus='',
$bodytags .= ' class="'.$pageclass.'" id="'.$pageid.'"';
ob_start();
$title = s($title); // fix for MDL-8582
include($CFG->header);
$output = ob_get_contents();
ob_end_clean();