Skip to content
Snippets Groups Projects
Commit 9e0fee3e authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

PHP7 Bug gefixt

parent df096788
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment