diff --git a/etemplate/js/et2_extension_nextmatch.js b/etemplate/js/et2_extension_nextmatch.js index e46e820469..db291ecc23 100644 --- a/etemplate/js/et2_extension_nextmatch.js +++ b/etemplate/js/et2_extension_nextmatch.js @@ -1598,7 +1598,7 @@ var et2_nextmatch_header_bar = et2_DOMWidget.extend(et2_INextmatchHeader, this._setup_favorites(settings['favorites']); // Export - if(typeof settings.csv_fields == "undefined" || settings.csv_fields != false) + if(typeof settings.csv_fields != "undefined" && settings.csv_fields != false) { var definition = settings.csv_fields; if(settings.csv_fields === true)