Skip to content

Commit c340c00

Browse files
committed
Fix clipboard exports with hidden visible element headers. (#1896)
1 parent 8ff72e6 commit c340c00

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/flatfile/QubitFlatfileExport.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ public function getHiddenVisibleElementCsvHeaders()
357357
if (
358358
(false !== strpos($setting, 'app_element_visibility_'.$template))
359359
&& (!strpos($setting, '__source'))
360+
&& (str_ends_with('_area', $setting)) // Ignore hidden element headers
360361
&& (0 == sfConfig::get($setting))
361362
) {
362363
array_push($nonVisibleElements, $setting);

0 commit comments

Comments
 (0)