// Fix BO connection bug with employees auth
This commit is contained in:
@@ -1647,6 +1647,9 @@ class AdminControllerCore extends Controller
|
|||||||
|
|
||||||
public function initShopContext()
|
public function initShopContext()
|
||||||
{
|
{
|
||||||
|
if (!$this->context->employee->isLoggedBack())
|
||||||
|
return;
|
||||||
|
|
||||||
// Change shop context ?
|
// Change shop context ?
|
||||||
if (Shop::isFeatureActive() && Tools::getValue('setShopContext') !== false)
|
if (Shop::isFeatureActive() && Tools::getValue('setShopContext') !== false)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user