Fix a partial problem in the site_desc that was found as a result of bug #517442 which still requires futher consideration..

git-svn-id: file:///svn/phpbb/trunk@2147 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
the_systech 2002-02-14 20:12:57 +00:00
parent 4421575ccb
commit aacc3e964d

View file

@ -122,7 +122,11 @@ $smtp_no = ( !$new['smtp_delivery'] ) ? "checked=\"checked\"" : "";
$template->set_filenames(array( $template->set_filenames(array(
"body" => "admin/board_config_body.tpl") "body" => "admin/board_config_body.tpl")
); );
//
// Escape any quotes in the site description for proper display in the text
// box on the admin page
//
$new['site_desc'] = htmlspecialchars($new['site_desc']);
$template->assign_vars(array( $template->assign_vars(array(
"S_CONFIG_ACTION" => append_sid("admin_board.$phpEx"), "S_CONFIG_ACTION" => append_sid("admin_board.$phpEx"),