From c3995136ac055e4321e6b8d6ae1dd66bbce2b517 Mon Sep 17 00:00:00 2001 From: Ingolf Steinardt Date: Mon, 8 Jul 2024 19:52:01 +0200 Subject: [PATCH] Fix module option null --- .../Contao/Hooks/AbstractContentElementAndModuleCallback.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CoreBundle/Contao/Hooks/AbstractContentElementAndModuleCallback.php b/src/CoreBundle/Contao/Hooks/AbstractContentElementAndModuleCallback.php index a6c4c96d3..64ce9b94a 100644 --- a/src/CoreBundle/Contao/Hooks/AbstractContentElementAndModuleCallback.php +++ b/src/CoreBundle/Contao/Hooks/AbstractContentElementAndModuleCallback.php @@ -387,7 +387,7 @@ protected function buildFilterParamsFor(DC_Table $dataContainer, $elementName) return; } - $translatedNull = $this->translator->trans('filter_option.null', [], self::$tableName); + $translatedNull = $this->translator->trans('filter_option.null', [], static::$tableName); $collection = $this->filterFactory->createCollection($filterId); $dca = $collection->getParameterDCA();