diff --git a/admin-dev/tabs/AdminCustomers.php b/admin-dev/tabs/AdminCustomers.php index 12978ba2a..8894e9a78 100644 --- a/admin-dev/tabs/AdminCustomers.php +++ b/admin-dev/tabs/AdminCustomers.php @@ -61,7 +61,7 @@ class AdminCustomers extends AdminTab ); $this->shopLinkType = 'shop'; - $this->shopShareDatas = true; + $this->shopShareDatas = Shop::SHARE_CUSTOMER; $this->optionsList = array( 'general' => array( diff --git a/admin-dev/tabs/AdminOrders.php b/admin-dev/tabs/AdminOrders.php index 9d42d5930..126478268 100644 --- a/admin-dev/tabs/AdminOrders.php +++ b/admin-dev/tabs/AdminOrders.php @@ -62,7 +62,7 @@ class AdminOrders extends AdminTab 'date_add' => array('title' => $this->l('Date'), 'width' => 35, 'align' => 'right', 'type' => 'datetime', 'filter_key' => 'a!date_add'), 'id_pdf' => array('title' => $this->l('PDF'), 'callback' => 'printPDFIcons', 'orderby' => false, 'search' => false)); $this->shopLinkType = 'shop'; - $this->shopShareDatas = true; + $this->shopShareDatas = Shop::SHARE_ORDER; parent::__construct(); }