Skip to content

Commit

Permalink
NTR: fix settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalij Mik committed Jul 4, 2024
1 parent e8a5832 commit eab675b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/SettingsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function getSettings(?string $salesChannelId = null): MollieSettingStruct
/** @var array<mixed> $coreSettings */
$coreSettings = $this->systemConfigService->get(self::SYSTEM_CORE_LOGIN_REGISTRATION_CONFIG_DOMAIN, $salesChannelId);

$structData[self::PHONE_NUMBER_FIELD_REQUIRED] = $coreSettings[self::PHONE_NUMBER_FIELD_REQUIRED];
$structData[self::PHONE_NUMBER_FIELD_REQUIRED] = $coreSettings[self::PHONE_NUMBER_FIELD_REQUIRED] ?? false;

return (new MollieSettingStruct())->assign($structData);
}
Expand Down

0 comments on commit eab675b

Please sign in to comment.