From e9ff8e100a7a58f5c551355260ae85718338504f Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Tue, 20 Mar 2007 05:21:31 +0000 Subject: [PATCH] MDL-8832 : Undid the stripslashes and changed calls to s($string) to s($string, true) instead. --- mod/forum/search.php | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/mod/forum/search.php b/mod/forum/search.php index f590fafe63..6f6bd3bd0f 100644 --- a/mod/forum/search.php +++ b/mod/forum/search.php @@ -119,7 +119,7 @@ print_header_simple("$strsearchresults", "", "id\">$strforums -> - id\">$strsearch -> ".s($search), 'search.words', + id\">$strsearch -> ".s($search, true), 'search.words', "", "", " ", navmenu($course)); print_heading(get_string("nopostscontaining", "forum", $search)); @@ -135,7 +135,7 @@ print_header_simple("$strsearchresults", "", "id\">$strforums -> - id\">$strsearch -> ".s($search), '', + id\">$strsearch -> ".s($search, true), '', "", "", $searchform, navmenu($course)); echo '