[-] 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:
vAugagneur
2012-06-12 07:06:45 +00:00
parent cd3dce4a82
commit dd23a5ceaf
+1 -1
View File
@@ -137,7 +137,7 @@ class OrderPaymentCore extends ObjectModel
if (!$res)
return false;
return new OrderInvoice($res['id_order_invoice']);
return new OrderInvoice((int)$res);
}
}