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; }