From 5634fad4ae67fd6fa9251ff4aa50cc8553e826a4 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sat, 30 Jun 2007 15:04:49 +0000 Subject: some fixes... git-svn-id: file:///svn/phpbb/trunk@7813 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/install/database_update.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/install/database_update.php') diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index f8222956e7..7fe4d50bf2 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -781,8 +781,8 @@ function _write_result($no_updates, $errored, $error_ary) for ($i = 0; $i < sizeof($error_ary['sql']); $i++) { - echo '
  • ' . $lang['ERROR'] . ' :: ' . $error_ary['error_code'][$i]['message'] . '
    '; - echo $lang['SQL'] . ' :: ' . $error_ary['sql'][$i] . '

  • '; + echo '
  • ' . $lang['ERROR'] . ' :: ' . htmlspecialchars($error_ary['error_code'][$i]['message']) . '
    '; + echo $lang['SQL'] . ' :: ' . htmlspecialchars($error_ary['sql'][$i]) . '

  • '; } echo '

    ' . $lang['SQL_FAILURE_EXPLAIN'] . '

    '; -- cgit v1.2.1