Skip to content

Commit

Permalink
Fixed iso code for component
Browse files Browse the repository at this point in the history
  • Loading branch information
JevgenijVisockij committed Apr 3, 2024
1 parent f8c0cdd commit 7047581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mollie.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ public function hookDisplayHeader(array $params)

Media::addJsDef([
'profileId' => $profileIdProvider->getProfileId($apiClient),
'isoCode' => $this->context->language->locale,
'isoCode' => str_replace('-', '_', $this->context->language->locale),
'isTestMode' => \Mollie\Config\Config::isTestMode(),
]);
$this->context->controller->registerJavascript(
Expand Down

0 comments on commit 7047581

Please sign in to comment.