diff --git a/Oara/Network/Publisher/LinkShare.php b/Oara/Network/Publisher/LinkShare.php index 8ae0df15..9dcdc6ff 100755 --- a/Oara/Network/Publisher/LinkShare.php +++ b/Oara/Network/Publisher/LinkShare.php @@ -334,7 +334,7 @@ public function getTransactionList($merchantList = null, \DateTime $dStartDate = for ($j = 1; $j < $num; $j++) { $transactionData = \str_getcsv($exportData [$j], ","); - if (count($transactionData) > 10 && (count($merchantIdList)==0 || isset($merchantIdList[$transactionData [1]]))) { + if (count($transactionData) > 10 && (count($merchantIdList)==0 || isset($merchantIdList[$transactionData [3]]))) { $transaction = Array(); $transaction['merchantId'] = ( int )$transactionData[3]; $transaction['merchantName'] = $transactionData[4];