diff --git a/etemplate/js/et2_extension_nextmatch.js b/etemplate/js/et2_extension_nextmatch.js index 06f62b58e3..337a8e100e 100644 --- a/etemplate/js/et2_extension_nextmatch.js +++ b/etemplate/js/et2_extension_nextmatch.js @@ -640,7 +640,7 @@ var et2_nextmatch = et2_DOMWidget.extend(et2_IResizeable, { visibility[value[i]].visible = true; } // Custom fields are listed seperately in column list, but are only 1 column - if(self.columns[column].widget.instanceOf(et2_nextmatch_customfields)) { + if(self.columns[column] && self.columns[column].widget.instanceOf(et2_nextmatch_customfields)) { var cf = self.columns[column].widget.options.customfields; var visible = self.columns[column].widget.options.fields;