[-] CLASSES : fixed bug #PSCFV-2786 - Error in getOrderInvoice function
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15974 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -137,7 +137,7 @@ class OrderPaymentCore extends ObjectModel
|
||||
if (!$res)
|
||||
return false;
|
||||
|
||||
return new OrderInvoice($res['id_order_invoice']);
|
||||
return new OrderInvoice((int)$res);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user