// fix bug on Order class
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user