// 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:
1 parent
7aa2055a80
commit
278ec73d66
1 file changed
+3
@@ -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