// fix bug on Order class

This commit is contained in:
aFolletete
2011-12-12 17:06:16 +00:00
parent c2e9720872
commit 8719a9d3bd
+1 -2
View File
@@ -1593,8 +1593,7 @@ class OrderCore extends ObjectModel
if (Db::getInstance()->getRow(' if (Db::getInstance()->getRow('
SELECT * SELECT *
FROM `'._DB_PREFIX_.'order_invoice` FROM `'._DB_PREFIX_.'order_invoice`
WHERE `id_order` = '.(int)$this->id.' WHERE `id_order` = '.(int)$this->id)
LIMIT 1')
) )
return true; return true;
return false; return false;