// fix bug on Order class
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11150 b9a71923-0436-4b27-9f14-aed3839534dd
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