Commit ec5d8e3e authored by Joshua Gould's avatar Joshua Gould

check for null

parent 48a2fcd1
...@@ -1318,7 +1318,7 @@ morpheus.Util.ExactTermPredicate = function (field, term) { ...@@ -1318,7 +1318,7 @@ morpheus.Util.ExactTermPredicate = function (field, term) {
}; };
morpheus.Util.ExactTermPredicate.prototype = { morpheus.Util.ExactTermPredicate.prototype = {
accept: function (value) { accept: function (value) {
return value.toLowerCase && value.toLowerCase() === this.text; return value && value.toLowerCase && value.toLowerCase() === this.text;
}, },
getField: function () { getField: function () {
return this.field; return this.field;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment