From d7ac7161172ee79dd101d24c4f1026bb8c327179 Mon Sep 17 00:00:00 2001 From: soufiane Date: Wed, 14 Feb 2024 14:17:07 +0100 Subject: [PATCH] wait #6717 --- app/Console/Commands/FluidbookSettingsExport.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/Console/Commands/FluidbookSettingsExport.php b/app/Console/Commands/FluidbookSettingsExport.php index ca1f787cb..4d3c566a5 100644 --- a/app/Console/Commands/FluidbookSettingsExport.php +++ b/app/Console/Commands/FluidbookSettingsExport.php @@ -52,12 +52,10 @@ class FluidbookSettingsExport extends ToolboxCommand return $i->getFields(); })->toArray(); - $field = []; - $field['#'] = [ - 'type' => 'noteditable', - 'editable' => false - ]; + //$editable = ['type' => 'text', 'editable' => true]; + $noteditable = ['type' => 'noteditable', 'editable' => false]; + $field = ['#' => $noteditable]; foreach ($fields as $key => $f) { foreach ($f as $k => $g) { $name = $g->getAttribute('name'); -- 2.39.5