Skip to content

Commit

Permalink
Merge pull request #1977 from plentymarkets/fix/google_maps_consent_c…
Browse files Browse the repository at this point in the history
…heck

FIX check for config value
  • Loading branch information
felixdausch authored Feb 17, 2020
2 parents d50ac00 + 45b3d00 commit acfcefe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Providers/TemplateServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ private function registerConsents()
* Cannot use CeresConfig since it depends on IO helper class
*/
$config = pluginApp(ConfigRepository::class);
if (strlen($config->get('Ceres.contact.apiKey'))) {
if (strlen($config->get('Ceres.contact.api_key'))) {
$consentRepository->registerConsent(
'googleMaps',
'Ceres::Template.consentGoogleMapsLabel',
Expand Down

0 comments on commit acfcefe

Please sign in to comment.