[-] BO : PSFV-365 - fixed bug

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12330 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mBertholino
2012-01-11 08:48:45 +00:00
parent ef414f7457
commit 3b5be15831
2 changed files with 4 additions and 8 deletions
+2 -1
View File
@@ -157,7 +157,7 @@ class SpecificPriceCore extends ObjectModel
public static function getPriority($id_product)
{
if (!self::isFeatureActive())
return Configuration::get('PS_SPECIFIC_PRICE_PRIORITIES');
return explode(';', Configuration::get('PS_SPECIFIC_PRICE_PRIORITIES'));
if (!isset(self::$_cache_priorities[(int)$id_product]))
{
@@ -174,6 +174,7 @@ class SpecificPriceCore extends ObjectModel
if (!$priority)
$priority = Configuration::get('PS_SPECIFIC_PRICE_PRIORITIES');
$priority = 'id_customer;'.$priority;
return preg_split('/;/', $priority);
}