[-] 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 5342c35e1d
commit a566cb3c1f
@@ -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),