From 19c2e3a31a2a1d3f7cbf112f84829a00cae3cc3b Mon Sep 17 00:00:00 2001 From: melaniekung Date: Mon, 25 Nov 2024 13:55:35 -0800 Subject: [PATCH] Fix clipboard exports with hidden visible element headers. (#1896) --- lib/flatfile/QubitFlatfileExport.class.php | 1 + 1 file changed, 1 insertion(+) 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);