[hotfix] uncaught read property split of undefinded (#3640)

This commit is contained in:
Makarand Bauskar 2017-07-07 20:29:31 +05:30 committed by GitHub
parent fee697e7f3
commit b89c69ee60

View file

@ -408,7 +408,9 @@ frappe.ui.Filter = Class.extend({
}
}
} else if(in_list(["in", "not in"], this.get_condition())) {
val = $.map(val.split(","), function(v) { return strip(v); });
if(val) {
val = $.map(val.split(","), function(v) { return strip(v); });
}
} if(val === '%') {
val = "";
}