// Small fix
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16748 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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