wildhart/meteor.mergebox-cache

Will miss cache if field exists but is falsy

Closed this issue · 0 comments

Caused by this code:

		if (!doc[field[i]]) {
			return;
		}
doc = {admin: false};
field = 'false';
hasField(doc, field); // undefined, but should be true because the field does exist