diff --git a/htdocs/admin/expedition.php b/htdocs/admin/expedition.php
index 2d0fdf18218..aa9259226ab 100644
--- a/htdocs/admin/expedition.php
+++ b/htdocs/admin/expedition.php
@@ -140,8 +140,8 @@ if ($action == 'specimen')
}
else
{
- $mesg=''.$obj->error.'';
- dol_syslog($obj->error, LOG_ERR);
+ $mesg=''.$module->error.'';
+ dol_syslog($module->error, LOG_ERR);
}
}
else
diff --git a/htdocs/expedition/class/expedition.class.php b/htdocs/expedition/class/expedition.class.php
index b34c255f61b..d3fd5832a78 100644
--- a/htdocs/expedition/class/expedition.class.php
+++ b/htdocs/expedition/class/expedition.class.php
@@ -1060,7 +1060,7 @@ class Expedition extends CommonObject
// Initialise parametres
$this->id=0;
- $this->ref = 'SPECIMEN_SHIP';
+ $this->ref = 'SPECIMEN';
$this->specimen=1;
$this->statut = 1;
$this->livraison_id = 0;