[-] CLASSES : fixed bug #PSCFV-2786 - Error in getOrderInvoice function

This commit is contained in:
vAugagneur
2012-06-12 07:06:45 +00:00
parent 425a3a24e1
commit 1ce04f60d0
+1 -1
View File
@@ -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);
} }
} }