[-] BO : fix #PSCFV-3143
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16384 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
e5a9972694
commit
2500044f02
1 file changed
+2
-1
@@ -240,7 +240,8 @@ class OrderReturnCore extends ObjectModel
|
|||||||
$detail_list[$detail['id_order_detail']] = $detail;
|
$detail_list[$detail['id_order_detail']] = $detail;
|
||||||
|
|
||||||
foreach ($products as &$product)
|
foreach ($products as &$product)
|
||||||
$product['qty_returned'] = $detail_list[$product['id_order_detail']]['qty_returned'];
|
if (isset($detail_list[$product['id_order_detail']]['qty_returned']))
|
||||||
|
$product['qty_returned'] = $detail_list[$product['id_order_detail']]['qty_returned'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user