From c0caa6e8a5febffe156928ff616fdac41bfb4996 Mon Sep 17 00:00:00 2001 From: Alexander Walther Date: Sun, 17 Sep 2023 18:29:42 +0200 Subject: [PATCH] fix `$addon->getName()` --- pages/events.settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/events.settings.php b/pages/events.settings.php index 4416a66..af4d5ff 100644 --- a/pages/events.settings.php +++ b/pages/events.settings.php @@ -2,7 +2,7 @@ $addon = rex_addon::get('events'); -$form = rex_config_form::factory($addon->name); +$form = rex_config_form::factory($addon->getName()); $field = $form->addInputField('text', 'currency', null, ["class" => "form-control"]); $field->setLabel(rex_i18n::msg('events_currency'));