aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/swatch.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-08-22 00:30:54 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-08-22 00:30:54 +0000
commitbfedee8380ba287829b32028a696cdfed678fc13 (patch)
treeb8ed9ca617d440ccfcfc04c0329c68a17cd67c16 /phpBB/adm/swatch.php
parent61a19df599dae87998e9d9f7d2b56b06ce727e2f (diff)
downloadforums-bfedee8380ba287829b32028a696cdfed678fc13.tar
forums-bfedee8380ba287829b32028a696cdfed678fc13.tar.gz
forums-bfedee8380ba287829b32028a696cdfed678fc13.tar.bz2
forums-bfedee8380ba287829b32028a696cdfed678fc13.tar.xz
forums-bfedee8380ba287829b32028a696cdfed678fc13.zip
Wake up oh dozey one ...
git-svn-id: file:///svn/phpbb/trunk@4417 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm/swatch.php')
-rw-r--r--phpBB/adm/swatch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/adm/swatch.php b/phpBB/adm/swatch.php
index 2c5123b5e8..d11f2edd25 100644
--- a/phpBB/adm/swatch.php
+++ b/phpBB/adm/swatch.php
@@ -47,7 +47,7 @@ td {
function cell(color)
{
- opener.document.forms['<?php echo htmlspecialchars($_GET['form']); ?>'].<?php echo htmlspecialchars($_GET['name']); ?>.value = '#' + color;
+ opener.document.forms['<?php echo htmlspecialchars(addslashes($_GET['form'])); ?>'].<?php echo htmlspecialchars(addslashes($_GET['name'])); ?>.value = '#' + color;
}
//-->
</script>