mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00: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:
parent
4421575ccb
commit
aacc3e964d
1 changed files with 6 additions and 2 deletions
|
@ -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"),
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue