diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2007-06-30 15:04:49 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-06-30 15:04:49 +0000 |
| commit | 5634fad4ae67fd6fa9251ff4aa50cc8553e826a4 (patch) | |
| tree | d498a39d667e8afa273029c2210783af0eb8fbd0 /phpBB/install/database_update.php | |
| parent | b1b542f69b3fd2f5fad3f2b757bc9a1593628c8d (diff) | |
| download | forums-5634fad4ae67fd6fa9251ff4aa50cc8553e826a4.tar forums-5634fad4ae67fd6fa9251ff4aa50cc8553e826a4.tar.gz forums-5634fad4ae67fd6fa9251ff4aa50cc8553e826a4.tar.bz2 forums-5634fad4ae67fd6fa9251ff4aa50cc8553e826a4.tar.xz forums-5634fad4ae67fd6fa9251ff4aa50cc8553e826a4.zip | |
some fixes...
git-svn-id: file:///svn/phpbb/trunk@7813 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/database_update.php')
| -rw-r--r-- | phpBB/install/database_update.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 '<li>' . $lang['ERROR'] . ' :: <strong>' . $error_ary['error_code'][$i]['message'] . '</strong><br />'; - echo $lang['SQL'] . ' :: <strong>' . $error_ary['sql'][$i] . '</strong><br /><br /></li>'; + echo '<li>' . $lang['ERROR'] . ' :: <strong>' . htmlspecialchars($error_ary['error_code'][$i]['message']) . '</strong><br />'; + echo $lang['SQL'] . ' :: <strong>' . htmlspecialchars($error_ary['sql'][$i]) . '</strong><br /><br /></li>'; } echo '</ul> <br /><br />' . $lang['SQL_FAILURE_EXPLAIN'] . '</p>'; |
