Skip to content

Commit

Permalink
order format hatası düzeltildi.
Browse files Browse the repository at this point in the history
  • Loading branch information
ismail0234 committed Oct 15, 2019
1 parent c711679 commit 647c139
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions IS/PazarYeri/N11/Services/WebHookService.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,10 @@ protected function getRealPageId($client, $orders, $pageId, $productId)
protected function getOrderFormat($orders)
{

if (!isset($orders->orderList->order)) {
return array();
}

$orderList = array($orders->orderList->order);
if (is_array($orders->orderList->order)) {
$orderList = $orders->orderList->order;
Expand Down

0 comments on commit 647c139

Please sign in to comment.