From 084c7c3e2066ca245d196d8bc846cb1cbfc38180 Mon Sep 17 00:00:00 2001 From: Ingolf Steinhardt Date: Wed, 15 Jan 2025 19:36:39 +0100 Subject: [PATCH] Fix widget manager --- src/Contao/View/Contao2BackendView/ContaoWidgetManager.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Contao/View/Contao2BackendView/ContaoWidgetManager.php b/src/Contao/View/Contao2BackendView/ContaoWidgetManager.php index eec2b5ee..65e8b65d 100644 --- a/src/Contao/View/Contao2BackendView/ContaoWidgetManager.php +++ b/src/Contao/View/Contao2BackendView/ContaoWidgetManager.php @@ -3,7 +3,7 @@ /** * This file is part of contao-community-alliance/dc-general. * - * (c) 2013-2024 Contao Community Alliance. + * (c) 2013-2025 Contao Community Alliance. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -19,7 +19,7 @@ * @author Ingolf Steinhardt * @author Sven Baumann * @author Richard Henkenjohann - * @copyright 2013-2024 Contao Community Alliance. + * @copyright 2013-2025 Contao Community Alliance. * @license https://github.com/contao-community-alliance/dc-general/blob/master/LICENSE LGPL-3.0-or-later * @filesource */ @@ -487,6 +487,7 @@ public function processInput(PropertyValueBag $propertyValues): void foreach ($propertyValues as $property => $propertyValue) { $_POST[$property] = $propertyValue; } + unset($property, $propertyValue); // Now get and validate the widgets. $encodedValues = new PropertyValueBag();