// Fix BO connection bug with employees auth
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14807 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1647,6 +1647,9 @@ class AdminControllerCore extends Controller
|
||||
|
||||
public function initShopContext()
|
||||
{
|
||||
if (!$this->context->employee->isLoggedBack())
|
||||
return;
|
||||
|
||||
// Change shop context ?
|
||||
if (Shop::isFeatureActive() && Tools::getValue('setShopContext') !== false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user