/**
  * Method postProcess() : add or update manufacturer object
  *
  * @module now_seo_links
  * @return object Manufacturer
  *
  * @see AdminManufacturersControllerCore::postProcess()
  */
 public function postProcess()
 {
     $aShops = array_keys(Tools::getValue('checkBoxShopAsso_manufacturer', array()));
     // Check if name already exist
     if (Manufacturer::nameIsAlreadyUsed(Tools::getValue('id_manufacturer'), Tools::getValue('name'), $aShops)) {
         $this->errors[] = Tools::displayError('Ce nom de marque existe déjà et ne peut être utilisé une nouvelle fois.');
     }
     return parent::postProcess();
 }
 protected function agilemultipleseller_list_override()
 {
     global $cookie;
     if (!Module::isInstalled('agilemultipleseller')) {
         return;
     }
     parent::agilemultipleseller_list_override();
     if ($this->is_seller) {
         $this->_where = $this->_where . ' AND IFNULL(ao.`id_owner`,0) > 0';
     } else {
         if (empty($this->_select) or substr(trim($this->_select), -1, 1) == ",") {
             $this->_select = $this->_select . 'amsl.company AS seller';
         } else {
             $this->_select = $this->_select . ',amsl.company AS seller';
         }
     }
 }