Browse Source

EAGLESIX-2653 fixed another bug in the inMatch expression

Phil Murray 11 years ago
parent
commit
990f36c617
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/pipeline/matcher/InMatchExpression.js

+ 1 - 1
lib/pipeline/matcher/InMatchExpression.js

@@ -53,7 +53,7 @@ proto._matchesRealElement = function _matchesRealElement(e) {
  *
  */
 proto.matchesSingleElement = function matchesSingleElement(e) {
-	if( this._arrayEntries === null && typeof(e) == 'object' && Object.keys(e).length === 0) {
+	if( this._arrayEntries.hasNull() && typeof(e) == 'object' && Object.keys(e).length === 0) {
 		return true;
 	}
 	if (this._matchesRealElement( e )) {