mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-16 22:51:23 +02:00
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:
@@ -122,7 +122,11 @@ $smtp_no = ( !$new['smtp_delivery'] ) ? "checked=\"checked\"" : "";
|
||||
$template->set_filenames(array(
|
||||
"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(
|
||||
"S_CONFIG_ACTION" => append_sid("admin_board.$phpEx"),
|
||||
|
||||
@@ -301,4 +305,4 @@ $template->pparse("body");
|
||||
|
||||
include('page_footer_admin.'.$phpEx);
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user