[-] Project : #PSCFV-2633 #PSCFV-2622 - Fix problems with multishipping and order payment & invoice

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15797 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-06-01 15:40:32 +00:00
parent 54fd1c0dcb
commit d02787dc97
15 changed files with 376 additions and 54 deletions
+2 -1
View File
@@ -84,6 +84,7 @@ class PaymentCCCore extends OrderPayment
public static function getByOrderId($id_order)
{
Tools::displayAsDeprecated();
return OrderPayment::getByOrderId($id_order);
$order = new Order($id_order);
return OrderPayment::getByOrderReference($order->reference);
}
}