// Small fix

This commit is contained in:
rGaillard
2012-08-07 13:34:13 +00:00
parent 8a17cd16ec
commit 18c4f37c8a
+6
View File
@@ -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();