diff --git a/lib/flatfile/QubitFlatfileExport.class.php b/lib/flatfile/QubitFlatfileExport.class.php index 7dee9318ce..d82b13e269 100644 --- a/lib/flatfile/QubitFlatfileExport.class.php +++ b/lib/flatfile/QubitFlatfileExport.class.php @@ -357,6 +357,7 @@ public function getHiddenVisibleElementCsvHeaders() if ( (false !== strpos($setting, 'app_element_visibility_'.$template)) && (!strpos($setting, '__source')) + && str_ends_with('_area', $setting) // Ignore hidden element headers && (0 == sfConfig::get($setting)) ) { array_push($nonVisibleElements, $setting);