diff --git a/app/Models/Result.php b/app/Models/Result.php index 27f42d96a0f43aa6ab3661ca6e7839e7808d931c..75ea1db6e85bacdf576589f904aee59cf48beb25 100644 --- a/app/Models/Result.php +++ b/app/Models/Result.php @@ -61,9 +61,9 @@ class Result $this->strippedDomain = $this->getStrippedDomain($this->strippedHost); $this->strippedLink = $this->getStrippedLink($this->anzeigeLink); $this->rank = 0; - $this->partnershop = $additionalInformation["partnershop"] ?? false; - $this->image = $additionalInformation["image"] ?? ""; - $this->price = $additionalInformation["price"] ?? 0; + $this->partnershop = isset($additionalInformation["partnershop"]) ? $additionalInformation["partnershop"] : false; + $this->image = isset($additionalInformation["image"]) ? $additionalInformation["image"] : ""; + $this->price = isset($additionalInformation["price"]) ? $additionalInformation["price"] : 0; $this->additionalInformation = $additionalInformation; }