1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

Fix bug #522413, non-slashing of quotes

git-svn-id: file:///svn/phpbb/trunk@2231 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2002-03-01 02:06:34 +00:00
parent a8b7699f7f
commit d0ffa0e900
2 changed files with 27 additions and 25 deletions

View File

@@ -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";