diff --git a/src/View/ActionHandler/CopyHandler.php b/src/View/ActionHandler/CopyHandler.php index 1cfb3fa..c74d4c2 100644 --- a/src/View/ActionHandler/CopyHandler.php +++ b/src/View/ActionHandler/CopyHandler.php @@ -3,7 +3,7 @@ /** * This file is part of contao-community-alliance/dc-general-contao-frontend. * - * (c) 2015-2023 Contao Community Alliance. + * (c) 2015-2024 Contao Community Alliance. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -13,7 +13,7 @@ * @package contao-community-alliance/dc-general-contao-frontend * @author Richard Henkenjohann * @author Ingolf Steinhardt - * @copyright 2015-2023 Contao Community Alliance. + * @copyright 2015-2024 Contao Community Alliance. * @license https://github.com/contao-community-alliance/dc-general-contao-frontend/blob/master/LICENSE LGPL-3.0 * @filesource */ @@ -99,7 +99,7 @@ public function handleEvent(ActionEvent $event): void } // Only run when no response given yet. - if ('' !== $event->getResponse()) { + if (null !== $event->getResponse()) { return; } diff --git a/src/View/ActionHandler/CreateHandler.php b/src/View/ActionHandler/CreateHandler.php index ae5c858..cfbfdc3 100644 --- a/src/View/ActionHandler/CreateHandler.php +++ b/src/View/ActionHandler/CreateHandler.php @@ -76,7 +76,7 @@ public function handleEvent(ActionEvent $event): void } // Only run when no response given yet. - if ('' !== $event->getResponse()) { + if (null !== $event->getResponse()) { return; }