Skip to content

Commit

Permalink
Merge pull request #2 from FriendsOfOro/hotfix/Oro_4.1.10_Support
Browse files Browse the repository at this point in the history
Resolve Oro 4.1.10 Compatibility Issue
  • Loading branch information
chrisaligent authored Dec 11, 2020
2 parents 73d7e03 + 12e5f7f commit 2541a40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Form/Extension/AbstractRecaptchaTypeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ protected function getSize()
* @param $default
* @return mixed
*/
protected function getConfiguration(string $key, $default)
protected function getConfiguration(string $key, $default = null)
{
return $this->configManager->get(Configuration::getConfigKeyByName($key), $default);
return $this->configManager->get(Configuration::getConfigKeyByName($key)) ?? $default;
}

/**
Expand Down

0 comments on commit 2541a40

Please sign in to comment.