From 2b6f4db64c1fce2ef28ab95c7e666a8406eb400c Mon Sep 17 00:00:00 2001 From: Prestasafe Date: Mon, 13 Nov 2023 17:05:06 +0100 Subject: [PATCH] php-cs-fixer --- classes/PrettyBlocksModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/PrettyBlocksModel.php b/classes/PrettyBlocksModel.php index b86bdc34..0557b72a 100644 --- a/classes/PrettyBlocksModel.php +++ b/classes/PrettyBlocksModel.php @@ -393,7 +393,7 @@ public function updateConfig($stateRequest) $fieldsRequest = array_filter($stateRequest, function ($field) { return isset($field['type']) && $field['type'] !== 'title'; }); - + foreach ($fieldsRequest as $key => $field) { $obj = (new FieldCore($field))->setAttribute('new_value', $field['value']); $fields[$key] = $obj;