fix: affiliate linking

This commit is contained in:
grandeljay 2023-12-18 23:27:37 +01:00
parent 0a667b312d
commit 5295cbc7e1

View file

@ -79,7 +79,7 @@ class Wish
$urlParameters = array();
}
if (\str_contains($urlParts['host'], 'amazon')) {
if (\str_contains($urlParts['host'], 'amazon.de')) {
$urlParameters['tag'] = 'grandel0b-21';
$urlParts['query'] = \http_build_query($urlParameters);
$url = $urlParts['scheme'] . '://' . $urlParts['host'] . $urlParts['path'] . '?' . $urlParts['query'];