diff --git a/app/MetaGer.php b/app/MetaGer.php
index 282388c54e449011dc46ebe54de9253c8fb0e3d8..8f3e4678419bc2e830a21f8897abacf9e730efae 100644
--- a/app/MetaGer.php
+++ b/app/MetaGer.php
@@ -367,8 +367,8 @@ class MetaGer
                         $targetUrl = $result->anzeigeLink;
                         if(strpos($targetUrl, "http") !== 0)
                             $targetUrl = "http://" . $targetUrl;
-                        $hash = md5($targetUrl . $privateKey);
-                        $newLink = "https://api.smartredirect.de/api_v2/ClickGate.php?p=" . $publicKey . "&k=" . $hash . "&url=" . urlencode($targetUrl) . "&q=" . $query;
+                        $gateHash = md5($targetUrl . $privateKey);
+                        $newLink = "https://api.smartredirect.de/api_v2/ClickGate.php?p=" . $publicKey . "&k=" . $gateHash . "&url=" . urlencode($targetUrl) . "&q=" . $query;
                         $result->link = $newLink;
                         $result->partnershop = true;
                     }