From 43b4c83bb1c4c2c1e509b1f71c63307f5354d8bf Mon Sep 17 00:00:00 2001 From: Norbert Micheel Date: Sun, 17 Sep 2023 14:46:18 +0200 Subject: [PATCH] Update qanda.settings.php fix access on private "name" property to getName() --- pages/qanda.settings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/qanda.settings.php b/pages/qanda.settings.php index 67987c8..2d0e96b 100644 --- a/pages/qanda.settings.php +++ b/pages/qanda.settings.php @@ -2,7 +2,7 @@ $addon = rex_addon::get('qanda'); -$form = rex_config_form::factory($addon->name); +$form = rex_config_form::factory($addon->getName()); $field = $form->addInputField('text', 'editor', null, ['class' => 'form-control']); $field->setLabel(rex_i18n::msg('qanda_editor')); @@ -29,4 +29,4 @@ echo !rex_config::get('alexplusde', 'donated') ? $fragment->parse('core/page/section.php') : ''; ?> - \ No newline at end of file +