From 5fc6b3993dd58f0bd85e621fd246c9acb11cbd04 Mon Sep 17 00:00:00 2001 From: Lucas Bartholemy Date: Sat, 1 Feb 2025 16:32:14 +0100 Subject: [PATCH] Removed Compoennt from BaseElementVariable --- Module.php | 1 + modules/template/elements/BaseElementVariable.php | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Module.php b/Module.php index eccee15d..e21d4b12 100644 --- a/Module.php +++ b/Module.php @@ -49,6 +49,7 @@ class Module extends ContentContainerModule '__toString', 'items', 'profile', + 'getempty', ], UnicodeString::class => [ '__toString', diff --git a/modules/template/elements/BaseElementVariable.php b/modules/template/elements/BaseElementVariable.php index 0c20d58d..23ebcadc 100644 --- a/modules/template/elements/BaseElementVariable.php +++ b/modules/template/elements/BaseElementVariable.php @@ -10,9 +10,8 @@ use humhub\modules\custom_pages\modules\template\interfaces\TemplateElementContentIterable; use humhub\modules\custom_pages\modules\template\models\TemplateInstance; -use yii\base\Component; -class BaseElementVariable extends Component +class BaseElementVariable { private $options = [];