Skip to content

Commit

Permalink
Update CountriesViewHelper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
fgerards authored Jan 20, 2023
1 parent 95727b5 commit 24c5304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/ViewHelpers/CountriesViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class CountriesViewHelper extends AbstractViewHelper
public function initialize()
{
parent::initialize();
$this->countryRepository = ObjectUtility::getObjectManager()->get(CountryRepository::class);
$this->countryRepository = GeneralUtility::makeInstance(CountryRepository::class);
}

/**
Expand Down

0 comments on commit 24c5304

Please sign in to comment.