[-] CLASSES : fixed bug #PSCFV-2786 - Error in getOrderInvoice function
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