From 898f7e33fc827d2d0fdc9a4721f18f599f209571 Mon Sep 17 00:00:00 2001 From: Ingolf Steinardt Date: Sat, 11 May 2024 17:30:30 +0200 Subject: [PATCH] Changes for MM xliff --- .../View/Contao2BackendView/ActionHandler/ShowHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Contao/View/Contao2BackendView/ActionHandler/ShowHandler.php b/src/Contao/View/Contao2BackendView/ActionHandler/ShowHandler.php index 2349ae48..f24d3d94 100644 --- a/src/Contao/View/Contao2BackendView/ActionHandler/ShowHandler.php +++ b/src/Contao/View/Contao2BackendView/ActionHandler/ShowHandler.php @@ -196,7 +196,7 @@ protected function getPropertyLabel(EnvironmentInterface $environment, PropertyI $key = $property->getLabel(); - if ('' === $key) { + if ('' === $key || null === $key) { throw new LogicException('Missing label for property ' . $property->getName()); }