@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | $exec = sqlsrv_execute($stmt); |
117 | 117 | } |
118 | 118 | else |
119 | - $exec = $this->result = sqlsrv_query($this->dbconn, $sql, $params, array( "Scrollable" => SQLSRV_CURSOR_KEYSET )); |
|
119 | + $exec = $this->result = sqlsrv_query($this->dbconn, $sql, $params, array("Scrollable" => SQLSRV_CURSOR_KEYSET)); |
|
120 | 120 | |
121 | 121 | if ($exec === false) |
122 | 122 | { |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | $this->rowsAffected = sqlsrv_rows_affected($this->result); |
138 | 138 | |
139 | 139 | if ($this->transac_mode) |
140 | - $this->transac_result = is_null($this->transac_result) ? $this->result: $this->transac_result && $this->result; |
|
140 | + $this->transac_result = is_null($this->transac_result) ? $this->result : $this->transac_result && $this->result; |
|
141 | 141 | |
142 | 142 | return $this->result; |
143 | 143 | } |