diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-03-01 02:06:34 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-03-01 02:06:34 +0000 |
commit | d0ffa0e900e916f36e6cda8e6f22d90651420f32 (patch) | |
tree | 76ad5a13ee1ed35edb794cdf7b52a8182382151c /phpBB/admin/admin_styles.php | |
parent | a8b7699f7f9db60755f3de51f29efc1240ac5886 (diff) | |
download | forums-d0ffa0e900e916f36e6cda8e6f22d90651420f32.tar forums-d0ffa0e900e916f36e6cda8e6f22d90651420f32.tar.gz forums-d0ffa0e900e916f36e6cda8e6f22d90651420f32.tar.bz2 forums-d0ffa0e900e916f36e6cda8e6f22d90651420f32.tar.xz forums-d0ffa0e900e916f36e6cda8e6f22d90651420f32.zip |
Fix bug #522413, non-slashing of quotes
git-svn-id: file:///svn/phpbb/trunk@2231 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/admin/admin_styles.php')
-rw-r--r-- | phpBB/admin/admin_styles.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/admin/admin_styles.php b/phpBB/admin/admin_styles.php index 9d9e98734d..805ae93617 100644 --- a/phpBB/admin/admin_styles.php +++ b/phpBB/admin/admin_styles.php @@ -557,7 +557,7 @@ switch( $mode ) { if($file == $selected['template_name']) { - $s_template_select .= '<option value="' . $file . '" selected="1">' . $file . "</option>\n"; + $s_template_select .= '<option value="' . $file . '" selected="selected">' . $file . "</option>\n"; } else { @@ -730,7 +730,7 @@ switch( $mode ) { if(!intval($key) && $key != "0" && $key != "themes_id") { - $theme_data .= '$' . $template_name . "[$i]['$key'] = \"$val\";\n"; + $theme_data .= '$' . $template_name . "[$i]['$key'] = \"" . addslashes($val) . "\";\n"; } } $theme_data .= "\n"; |