// Fix #PSCFV-4628

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17695 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard
2012-10-02 18:57:39 +00:00
parent 71eda6c6f3
commit 5b554435cf
5 changed files with 40 additions and 9 deletions
+1 -1
View File
@@ -749,7 +749,7 @@ class ShopCore extends ObjectModel
*/
public static function getSharedShops($shop_id, $type)
{
if (!in_array($type, array(Shop::SHARE_CUSTOMER, Shop::SHARE_ORDER)))
if (!in_array($type, array(Shop::SHARE_CUSTOMER, Shop::SHARE_ORDER, SHOP::SHARE_STOCK)))
die('Wrong argument ($type) in Shop::getSharedShops() method');
Shop::cacheShops();