aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorthe_systech <the_systech@users.sourceforge.net>2002-02-14 20:12:57 +0000
committerthe_systech <the_systech@users.sourceforge.net>2002-02-14 20:12:57 +0000
commitaacc3e964d27f50e3335384b095b61168f929c60 (patch)
tree74007e0f8ed5079e3172e3e1f6e6d7d4e67341a6 /phpBB
parent4421575ccb255f6835b125daf238fb565055b014 (diff)
downloadforums-aacc3e964d27f50e3335384b095b61168f929c60.tar
forums-aacc3e964d27f50e3335384b095b61168f929c60.tar.gz
forums-aacc3e964d27f50e3335384b095b61168f929c60.tar.bz2
forums-aacc3e964d27f50e3335384b095b61168f929c60.tar.xz
forums-aacc3e964d27f50e3335384b095b61168f929c60.zip
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
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/admin/admin_board.php8
1 files 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
+?>