Skip to content
Snippets Groups Projects
Commit 91a436af authored by florian HENRY's avatar florian HENRY
Browse files

resetExped

parent a45680dc
No related branches found
No related tags found
No related merge requests found
...@@ -224,12 +224,7 @@ class modExpedition extends DolibarrModules ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment