summary refs log tree commit diff stats
path: root/includes/header.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2009-10-02 19:04:20 -0400
committerStarla Insigna <hatkirby@fourisland.com>2009-10-02 19:04:20 -0400
commit9dfba1e70866fb2bb551678f6e04b8ddfd5467e1 (patch)
tree81f4731ae7b2fa902226f084480e26411ac3ad71 /includes/header.php
parent00586f1e8ada8f5baa6e3013525862dccac77b4a (diff)
downloadfourisland-9dfba1e70866fb2bb551678f6e04b8ddfd5467e1.tar.gz
fourisland-9dfba1e70866fb2bb551678f6e04b8ddfd5467e1.tar.bz2
fourisland-9dfba1e70866fb2bb551678f6e04b8ddfd5467e1.zip
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
Diffstat (limited to 'includes/header.php')
-rwxr-xr-xincludes/header.php4
1 files changed, 2 insertions, 2 deletions
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;
77while ($getaffs3 = mysql_fetch_array($getaffs2)) 77while ($getaffs3 = mysql_fetch_array($getaffs2))
78{ 78{
79 $headerTemp->adds_block('AFFILIATES', array( 'COLOR' => getTagColor($i++), 79 $headerTemp->adds_block('AFFILIATES', array( 'COLOR' => getTagColor($i++),
80 'TITLE' => $getaffs3['title'], 80 'TITLE' => htmlentities($getaffs3['title']),
81 'URL' => $getaffs3['url'])); 81 'URL' => $getaffs3['url']));
82} 82}
83 83
@@ -87,7 +87,7 @@ $i=0;
87while ($getwebps3 = mysql_fetch_array($getwebps2)) 87while ($getwebps3 = mysql_fetch_array($getwebps2))
88{ 88{
89 $headerTemp->adds_block('WEBPROJS', array( 'COLOR' => getTagColor($i++), 89 $headerTemp->adds_block('WEBPROJS', array( 'COLOR' => getTagColor($i++),
90 'TITLE' => $getwebps3['title'], 90 'TITLE' => htmlentities($getwebps3['title']),
91 'URL' => $getwebps3['url'])); 91 'URL' => $getwebps3['url']));
92} 92}
93 93