[-] BO : BugFix : PSTEST-608 Removing the possibility to edit or remove Root category in AdminTrackingController

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12819 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2012-01-30 17:28:33 +00:00
parent 967a025211
commit 37c92878bc

View File

@@ -77,6 +77,8 @@ class AdminTrackingControllerCore extends AdminController
$this->addRowAction('edit');
$this->addRowAction('delete');
$this->addRowAction('view');
$this->addRowActionSkipList('delete', array(Category::getTopCategory()->id));
$this->addRowActionSkipList('edit', array(Category::getTopCategory()->id));
$this->fieldsDisplay = (array(
'id_category' => array('title' => $this->l('ID'), 'width' => 50),