Skip to content

Commit

Permalink
Correct a bug in the last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
pygy committed Mar 3, 2012
1 parent 654dcfd commit 86aeba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlite.js
Expand Up @@ -137,7 +137,7 @@ function SQLTransactionSync(db, txCallback, errCallback, successCallback) {

if (!this.rolledBack && successCallback) {
successCallback(this);
} else if (errCallback) {
} else if (this.rolledBack && errCallback) {
errCallback(this);
}
}
Expand Down

1 comment on commit 86aeba4

@grumdrig
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yeah. That was a problem.

Please sign in to comment.