resetExped

This commit is contained in:
florian HENRY 2016-05-17 08:46:28 +02:00
parent a45680dc19
commit 91a436af81

View File

@ -224,12 +224,7 @@ class modExpedition extends DolibarrModules
include_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php'; include_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php';
$shipment=new Commande($this->db); $shipment=new Commande($this->db);
$contact_shipment=$shipment->liste_type_contact('external','',0,0,'');
if (is_array($contact_shipment) && count($contact_shipment)>0) {
$idcontacts=join(',',array_keys($shipment->liste_type_contact('external','',0,0,''))); $idcontacts=join(',',array_keys($shipment->liste_type_contact('external','',0,0,'')));
} else {
$idcontacts=0;
}
$r++; $r++;
$this->export_code[$r]=$this->rights_class.'_'.$r; $this->export_code[$r]=$this->rights_class.'_'.$r;