// Small fix
This commit is contained in:
@@ -1356,6 +1356,12 @@ class AdminControllerCore extends Controller
|
|||||||
*/
|
*/
|
||||||
public function initContent()
|
public function initContent()
|
||||||
{
|
{
|
||||||
|
if (!$this->viewAccess())
|
||||||
|
{
|
||||||
|
$this->errors[] = Tools::displayError('You do not have permission to view here.');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$this->getLanguages();
|
$this->getLanguages();
|
||||||
// toolbar (save, cancel, new, ..)
|
// toolbar (save, cancel, new, ..)
|
||||||
$this->initToolbar();
|
$this->initToolbar();
|
||||||
|
|||||||
Reference in New Issue
Block a user