diff --git a/etemplate/js/et2_extension_customfields.js b/etemplate/js/et2_extension_customfields.js index db6263c91c..e26403e4de 100644 --- a/etemplate/js/et2_extension_customfields.js +++ b/etemplate/js/et2_extension_customfields.js @@ -89,7 +89,8 @@ var et2_customfields_list = et2_valueWidget.extend([et2_IDetachedDOM, et2_IInput // Already excluded? if(already_filtered && !this.options.fields[field_name]) continue; - if(!this.options.customfields[field_name].type2 || this.options.customfields[field_name].type2.length == 0) + if(!this.options.customfields[field_name].type2 || this.options.customfields[field_name].type2.length == 0 || + this.options.customfields[field_name].type2 == '0') { // No restrictions this.options.fields[field_name] = true;