From c90474318a2d0fc639d91d5f23f1f70bdd6f696d 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 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14897 b9a71923-0436-4b27-9f14-aed3839534dd --- 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);