diff --git a/src/definitions/modules/search.js b/src/definitions/modules/search.js index 9ae93a7dd..ce626a100 100644 --- a/src/definitions/modules/search.js +++ b/src/definitions/modules/search.js @@ -310,7 +310,7 @@ $.fn.search = function(parameters) { $.each(results, function(index, category) { if($.isArray(category.results)) { result = module.search.object(value, category.results)[0]; - if(result.length > 0) { + if(result && result.length > 0) { return true; } }