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

This commit is contained in:
vChabot
2012-01-30 17:28:33 +00:00
parent bf7acc1d11
commit 149dfbfcf7
@@ -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),