From aacc3e964d27f50e3335384b095b61168f929c60 Mon Sep 17 00:00:00 2001 From: the_systech Date: Thu, 14 Feb 2002 20:12:57 +0000 Subject: [PATCH] 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 --- phpBB/admin/admin_board.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/phpBB/admin/admin_board.php b/phpBB/admin/admin_board.php index 3e91077ef3..5e1027a9df 100644 --- a/phpBB/admin/admin_board.php +++ b/phpBB/admin/admin_board.php @@ -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); -?> \ No newline at end of file +?>