Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Fixed bug in DBSelect.where().
Browse files Browse the repository at this point in the history
  • Loading branch information
kalifg committed Aug 9, 2012
1 parent 0f40601 commit 3b36f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dbSelect.js
Expand Up @@ -92,7 +92,7 @@ DBSelect.prototype.where = function( whereStr, value, clauseType )
{
var pushCount = 1;

if (typeof clauseType === 'undefined') {
if (!clauseType) {
clauseType = 'AND';
}

Expand Down

0 comments on commit 3b36f87

Please sign in to comment.