Skip to content

Commit

Permalink
Merge pull request #25 from alexplusde/tyrant88-patch-137
Browse files Browse the repository at this point in the history
Update qanda.settings.php
  • Loading branch information
tyrant88 committed Sep 17, 2023
2 parents 691b642 + 43b4c83 commit 065f836
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 065f836

Please sign in to comment.