From 8f82c3e5a65fad2404dec2acd7d42517dc42fdb8 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 1 Sep 2008 14:03:28 +0000 Subject: [PATCH] Bugfix --- htdocs/expedition/expedition.class.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/htdocs/expedition/expedition.class.php b/htdocs/expedition/expedition.class.php index e6892678f5a..b2c55608c08 100644 --- a/htdocs/expedition/expedition.class.php +++ b/htdocs/expedition/expedition.class.php @@ -250,11 +250,7 @@ class Expedition extends CommonObject $this->modelpdf = $obj->model_pdf; $this->expedition_method_id = $obj->fk_expedition_methode; $this->tracking_number = $obj->tracking_number; - - if (strlen($this->tracking_number) && strlen($this->expedition_method_id)) { - $this->GetUrlTrackingStatus(); - } - + if ($conf->commande->enabled) { $this->origin = "commande"; @@ -429,7 +425,7 @@ class Expedition extends CommonObject } $this->db->commit(); - //dolibarr_syslog("expedition.class.php::valid commit"); + //dolibarr_syslog("Expedition::valid commit"); return 1; }