[-] BO : fixed bug on Invoice generation in AdminInvoices

This commit is contained in:
aFolletete committed 2012-01-02 17:30:11 +00:00
1 parent fca37421ac
commit 8923947406
6 files changed
+73 -49

No files matched your search

+8
View File
@@ -880,8 +880,16 @@ class OrderCore extends ObjectModel
return $orders;
}
/**
* @deprecated 1.5.0.3
*
* @static
* @param $id_order_state
* @return array
*/
public static function getOrderIdsByStatus($id_order_state)
{
Tools::displayAsDeprecated();
$sql = 'SELECT id_order
FROM '._DB_PREFIX_.'orders o
WHERE '.(int)$id_order_state.' = (