From 4bba5a6f448bf654728bc91d69363a46a4010ca9 Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Fri, 23 Feb 2007 05:57:58 +0000 Subject: [PATCH] fix for MDL-8582, adding s() to $title in print_header() --- lib/weblib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/weblib.php b/lib/weblib.php index 3a107bff19f..543ebd2f707 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -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();