// Fix token on adminHome
This commit is contained in:
1 parent
ea8a38b22c
commit
71a2a66abc
1 file changed
+4
@@ -78,6 +78,10 @@ class AdminControllerCore extends Controller
|
|||||||
|
|
||||||
$this->token = Tools::getAdminToken($className.(int)$this->id.(int)$this->context->employee->id);
|
$this->token = Tools::getAdminToken($className.(int)$this->id.(int)$this->context->employee->id);
|
||||||
|
|
||||||
|
// Fix for AdminHome
|
||||||
|
if ($className == 'AdminHome')
|
||||||
|
$_POST['token'] = $this->token;
|
||||||
|
|
||||||
if (!Shop::isMultiShopActivated())
|
if (!Shop::isMultiShopActivated())
|
||||||
$this->shopLinkType = '';
|
$this->shopLinkType = '';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user