]> _ Git - fluidbook-toolbox.git/commitdiff
wait #6717 @0:01
authorsoufiane <soufiane@cubedesigners.com>
Tue, 13 Feb 2024 16:16:47 +0000 (17:16 +0100)
committersoufiane <soufiane@cubedesigners.com>
Tue, 13 Feb 2024 16:16:47 +0000 (17:16 +0100)
app/Console/Commands/FluidbookSettingsExport.php

index 23de3b740c45a3c613cf43d3d96d2f5fd78ea421..65b1754e48afedddf863c81d521a56de15f6a676 100644 (file)
@@ -89,7 +89,7 @@ class FluidbookSettingsExport extends ToolboxCommand
             $cell = $sheet->getCellByColumnAndRow($c, $line);
             $cell->setValue($key);
             $style = $sheet->getStyleByColumnAndRow($c, $line);
-            if(!$field[$key]['editable'] || $field[$key]['type'] === 'noteditable') {
+            if(!$field[$key]['editable'] || $field[$key]['type'] === 'noteditable' || $field[$key]['type'] === 'hidden') {
                 $style->getProtection()->setLocked(Protection::PROTECTION_PROTECTED);
                 $style->getFill()->setFillType(Fill::FILL_SOLID)->getStartColor()->setARGB('dddddd');
             }