// Fixed simple multistore process

This commit is contained in:
Damien Metzger committed 2013-08-21 10:23:53 +02:00
1 parent 3287e1664c
commit 65c6d86e6e
1 file changed
+1 -1
@@ -236,7 +236,7 @@ class AdminCategoriesControllerCore extends AdminController
{ {
if (empty($this->display)) if (empty($this->display))
{ {
if (Configuration::get('PS_MULTISHOP_FEATURE_ACTIVE') && count(Shop::getShops()) > 1) if (Configuration::get('PS_MULTISHOP_FEATURE_ACTIVE'))
$this->toolbar_btn['new-url'] = array( $this->toolbar_btn['new-url'] = array(
'href' => self::$currentIndex.'&add'.$this->table.'root&token='.$this->token, 'href' => self::$currentIndex.'&add'.$this->table.'root&token='.$this->token,
'desc' => $this->l('Add new root category') 'desc' => $this->l('Add new root category')