From 5f82298745782f734da3f0c84ebf24ac7ec4e090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awek=20Naczy=C5=84ski?= Date: Thu, 2 Jan 2020 10:40:51 +0000 Subject: [PATCH] Affilinet - make file compatible with PHP < 7.0 --- Oara/Network/Publisher/AffiliNet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Oara/Network/Publisher/AffiliNet.php b/Oara/Network/Publisher/AffiliNet.php index dd38b198..ab97b143 100755 --- a/Oara/Network/Publisher/AffiliNet.php +++ b/Oara/Network/Publisher/AffiliNet.php @@ -111,7 +111,7 @@ public function getMerchantList() $obj['name'] = $merchant->ProgramTitle; // Added more info - 2018-04-20 $obj['url'] = $merchant->Url; - $obj['status'] = $merchant->PartnershipStatus ?? null; + $obj['status'] = isset($merchant->PartnershipStatus) ? $merchant->PartnershipStatus : null; $obj['launch_date'] = $merchant->LaunchDate; $merchantListResult[] = $obj; }