aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/driver/mssqlnative.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-06-17 00:42:39 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-06-17 00:42:39 +0200
commit89af1150718a184249d8040637969b03a3003596 (patch)
tree44ebf3864ded8edabde1eae392300911edc3f359 /phpBB/phpbb/db/driver/mssqlnative.php
parent4d6afb26380d192efc556640499b6f5c43fbdf3c (diff)
parentafcca62784b51e34649f44905a27948bc3c8400c (diff)
downloadforums-89af1150718a184249d8040637969b03a3003596.tar
forums-89af1150718a184249d8040637969b03a3003596.tar.gz
forums-89af1150718a184249d8040637969b03a3003596.tar.bz2
forums-89af1150718a184249d8040637969b03a3003596.tar.xz
forums-89af1150718a184249d8040637969b03a3003596.zip
Merge pull request #2603 from Nicofuma/ticket/12721
[ticket/12721] Improve the code sniffer: simple rules * Nicofuma/ticket/12721: [ticket/12721] Update rules descriptions [ticket/12721] Add Generic.NamingConventions.ConstructorName in strict [ticket/12721] Add Squiz.Functions.LowercaseFunctionKeywords in legacy [ticket/12721] Add Squiz.ControlStructures.ForLoopDeclaration in legacy [ticket/12721] Add Squiz.ControlStructures.ForEachLoopDeclaration [ticket/12721] Add Squiz.ControlStructures.ElseIfDeclaration in legacy [ticket/12721] Add Generic.Functions.OpeningFunctionBraceBsdAllman [ticket/12721] Add Squiz.Arrays.ArrayBracketSpacing in the legacy ruleset [ticket/12721] Add Generic.Files.LowercasedFilename in the legacy ruleset
Diffstat (limited to 'phpBB/phpbb/db/driver/mssqlnative.php')
-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;