From b6d050819220db4d68cf5a5d6082364f0ff38e56 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Mon, 24 May 2010 15:41:41 +0200 Subject: [PATCH] Replacing prepare4display(Security::remove_XSS()) to prepare4display() function --- main/forum/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/forum/index.php b/main/forum/index.php index 5ca969afac..42e3816c09 100755 --- a/main/forum/index.php +++ b/main/forum/index.php @@ -204,7 +204,7 @@ if (isset($_GET['action']) && $_GET['action'] == 'notify' AND isset($_GET['conte } echo ""; - echo ''.prepare4display(Security::remove_XSS($forum_category['cat_title'])).$session_displayed.''. $session_img .'
'; + echo ''.prepare4display($forum_category['cat_title']).$session_displayed.''. $session_img .'
'; if ($forum_category['cat_comment']<>'' AND trim($forum_category['cat_comment'])<>' ') { echo ''.prepare4display($forum_category['cat_comment']).''; @@ -360,7 +360,7 @@ if (isset($_GET['action']) && $_GET['action'] == 'notify' AND isset($_GET['conte } $forum['forum_of_group']==0?$groupid='':$groupid=$forum['forum_of_group']; - echo "".prepare4display($forum['forum_title']).$session_displayed.''.$forum_title_group_addition.'
'.prepare4display(Security::remove_XSS($forum['forum_comment'],STUDENT)).""; + echo "".prepare4display($forum['forum_title']).$session_displayed.''.$forum_title_group_addition.'
'.prepare4display($forum['forum_comment']).""; //$number_forum_topics_and_posts=get_post_topics_of_forum($forum['forum_id']); // deprecated // the number of topics and posts $number_threads=isset($forum['number_of_threads']) ? $forum['number_of_threads'] : null;