aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-06-15 20:52:51 +0200
committerTristan Darricau <github@nicofuma.fr>2014-06-16 22:35:12 +0200
commit34a4ba36cd554ebd3cab1bdbb422d97a9429bd72 (patch)
treecaa56f72f2bfb25dd8e537d87bbfcdf4e870e1ff /phpBB/phpbb
parent1aec0d29fd573950d5fbfd224997aac546df9b05 (diff)
downloadforums-34a4ba36cd554ebd3cab1bdbb422d97a9429bd72.tar
forums-34a4ba36cd554ebd3cab1bdbb422d97a9429bd72.tar.gz
forums-34a4ba36cd554ebd3cab1bdbb422d97a9429bd72.tar.bz2
forums-34a4ba36cd554ebd3cab1bdbb422d97a9429bd72.tar.xz
forums-34a4ba36cd554ebd3cab1bdbb422d97a9429bd72.zip
[ticket/12721] Add Squiz.Arrays.ArrayBracketSpacing in the legacy ruleset
PHPBB3-12721
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/db/driver/mssqlnative.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/db/driver/mssqlnative.php b/phpBB/phpbb/db/driver/mssqlnative.php
index 9639bfa988..a7f93c8feb 100644
--- a/phpBB/phpbb/db/driver/mssqlnative.php
+++ b/phpBB/phpbb/db/driver/mssqlnative.php
@@ -319,10 +319,10 @@ class mssqlnative extends \phpbb\db\driver\mssql_base
{
foreach ($errors as $error)
{
- $error_message .= "SQLSTATE: " . $error[ 'SQLSTATE'] . "\n";
- $error_message .= "code: " . $error[ 'code'] . "\n";
+ $error_message .= "SQLSTATE: " . $error['SQLSTATE'] . "\n";
+ $error_message .= "code: " . $error['code'] . "\n";
$code = $error['code'];
- $error_message .= "message: " . $error[ 'message'] . "\n";
+ $error_message .= "message: " . $error['message'] . "\n";
}
$this->last_error_result = $error_message;
$error = $this->last_error_result;