Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/alexplusde/qanda
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndr-w committed Sep 17, 2023
2 parents 9e4164a + 065f836 commit 550b537
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/qanda.settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand All @@ -29,4 +29,4 @@
echo !rex_config::get('alexplusde', 'donated') ? $fragment->parse('core/page/section.php') : '';
?>
</div>
</div>
</div>

0 comments on commit 550b537

Please sign in to comment.