We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4884583 commit c3b365eCopy full SHA for c3b365e
1 file changed
src/Dibi/Drivers/SqlsrvDriver.php
@@ -69,9 +69,9 @@ public function __construct(array $config)
69
$info = sqlsrv_errors(SQLSRV_ERR_ERRORS);
70
throw new Dibi\DriverException($info[0]['message'], $info[0]['code']);
71
}
72
- if (!isset($config['resource'])) {
73
- sqlsrv_configure('WarningsReturnAsErrors', 1);
74
- }
+ if (!isset($config['resource'])) {
+ sqlsrv_configure('WarningsReturnAsErrors', 1);
+ }
75
$this->version = sqlsrv_server_info($this->connection)['SQLServerVersion'];
76
77
0 commit comments