// fix duplicate 'add new'

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9519 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mMarinetti
2011-10-20 16:13:40 +00:00
parent 2c918da8e9
commit 927c437679
@@ -1571,8 +1571,6 @@ if (false)
</script>';
////////////////////////
$this->l('in category').' "'.stripslashes($this->_category->getName()).'"</h3>';
if ($this->tabAccess['add'] === '1')
$this->content .= '<a href="'.self::$currentIndex.'&id_category='.$id_category.'&add'.$this->table.'&token='.($token != null ? $token : $this->token).'"><img src="../img/admin/add.gif" border="0" /> '.$this->l('Add a new product').'</a>';
$this->content .= '<div style="margin:10px;">';
// $this->displayList($token);
// $this->display = 'list';