From 9dfba1e70866fb2bb551678f6e04b8ddfd5467e1 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Fri, 2 Oct 2009 19:04:20 -0400 Subject: Fixed HTML Entites problem When the poll escaping problem was fixed, a whole ton of other similar bugs were found which were also fixed here. Fixes #115 --- includes/header.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/header.php') diff --git a/includes/header.php b/includes/header.php index 3a8edff..003e002 100755 --- a/includes/header.php +++ b/includes/header.php @@ -77,7 +77,7 @@ $i=0; while ($getaffs3 = mysql_fetch_array($getaffs2)) { $headerTemp->adds_block('AFFILIATES', array( 'COLOR' => getTagColor($i++), - 'TITLE' => $getaffs3['title'], + 'TITLE' => htmlentities($getaffs3['title']), 'URL' => $getaffs3['url'])); } @@ -87,7 +87,7 @@ $i=0; while ($getwebps3 = mysql_fetch_array($getwebps2)) { $headerTemp->adds_block('WEBPROJS', array( 'COLOR' => getTagColor($i++), - 'TITLE' => $getwebps3['title'], + 'TITLE' => htmlentities($getwebps3['title']), 'URL' => $getwebps3['url'])); } -- cgit 1.4.1