Skip to content

Commit 42b83af

Browse files
committed
Correct the error in the truth of the condition
1 parent aef1bcc commit 42b83af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pdo_firebird/firebird_driver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ static bool firebird_handle_set_attribute(pdo_dbh_t *dbh, zend_long attr, zval *
884884
}
885885
} else {
886886
/* close the transaction */
887-
if (!H->tr && !firebird_handle_commit(dbh)) {
887+
if (H->tr && !firebird_handle_commit(dbh)) {
888888
return false;
889889
}
890890
H->in_manually_txn = 0;

0 commit comments

Comments
 (0)