[-] CLASSES : fixed bug #PSCFV-2786 - Error in getOrderInvoice function
This commit is contained in:
1 parent
425a3a24e1
commit
1ce04f60d0
1 file changed
+1
-1
@@ -137,7 +137,7 @@ class OrderPaymentCore extends ObjectModel
|
|||||||
if (!$res)
|
if (!$res)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return new OrderInvoice($res['id_order_invoice']);
|
return new OrderInvoice((int)$res);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user