Skip to content

Commit

Permalink
fix $addon->getName()
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndr-w committed Sep 17, 2023
1 parent e509455 commit c0caa6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/events.settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down

0 comments on commit c0caa6e

Please sign in to comment.