From dd9a623ff4a992fd353f8da3d04b69fd618d06cc Mon Sep 17 00:00:00 2001 From: kGablo Date: Wed, 29 May 2024 10:40:32 +0200 Subject: [PATCH] add regulations in english --- Provider/ConfigurationProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Provider/ConfigurationProvider.php b/Provider/ConfigurationProvider.php index 7481601..84f05f3 100755 --- a/Provider/ConfigurationProvider.php +++ b/Provider/ConfigurationProvider.php @@ -80,7 +80,7 @@ public function getInvoiceSendMail(): string public function getTermsURL(): string { - if (substr($this->localeResolver->getLocale(), 0, 2) == 'pl') { + if ('pl' == substr($this->localeResolver->getLocale(), 0, 2)) { return $this->termsURL; }