From cf7a4154bfdfb57d1d3945fbbbb7518ae20bc1ec Mon Sep 17 00:00:00 2001 From: rMalie Date: Thu, 26 Apr 2012 09:28:31 +0000 Subject: [PATCH] // Fix bug on _DB_PREFIX_ call in class Shop #PSCFV-1243 --- classes/shop/Shop.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/shop/Shop.php b/classes/shop/Shop.php index 624298d47..751f60b8b 100644 --- a/classes/shop/Shop.php +++ b/classes/shop/Shop.php @@ -406,7 +406,7 @@ class ShopCore extends ObjectModel public function getUrls() { $sql = 'SELECT * - FROM '._DB_PREFIX.'shop_url + FROM '._DB_PREFIX_.'shop_url WHERE active = 1 AND id_shop = '.(int)$this->id; return Db::getInstance()->executeS($sql);