From 6b373de4c7807eef83ffc015f229f733bdd90db6 Mon Sep 17 00:00:00 2001 From: Sebastian Zoglowek Date: Tue, 6 Jun 2023 12:48:35 +0200 Subject: [PATCH] Fixed an issue where no selected logo would throw an error --- contao/modules/ModuleLogo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contao/modules/ModuleLogo.php b/contao/modules/ModuleLogo.php index ecf637c..9653260 100644 --- a/contao/modules/ModuleLogo.php +++ b/contao/modules/ModuleLogo.php @@ -32,7 +32,7 @@ */ class ModuleLogo extends Module { - protected FilesModel $objFile; + protected ?FilesModel $objFile; /** * Template