aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/admin/admin_styles.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/admin/admin_styles.php')
-rw-r--r--phpBB/admin/admin_styles.php4
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";