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