[-] BO : BugFix : #PSCFV-2440 : Impossible to delete a shop with share option
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15431 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
26c1e8ded3
commit
b71fee03d1
1 file changed
+1
-1
@@ -1693,7 +1693,7 @@ class AdminControllerCore extends Controller
|
|||||||
Shop::setContext(Shop::CONTEXT_SHOP, $shop_id);
|
Shop::setContext(Shop::CONTEXT_SHOP, $shop_id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ($this->context->employee->hasAuthOnShop($split[1]))
|
else if (Shop::getShop($split[1]) && $this->context->employee->hasAuthOnShop($split[1]))
|
||||||
{
|
{
|
||||||
$shop_id = $split[1];
|
$shop_id = $split[1];
|
||||||
Shop::setContext(Shop::CONTEXT_SHOP, $shop_id);
|
Shop::setContext(Shop::CONTEXT_SHOP, $shop_id);
|
||||||
|
|||||||
Reference in new issue
Block a user