From 66db46a693228d7ad57b7e6d9ef4147ee5c2d0b7 Mon Sep 17 00:00:00 2001 From: Christophe Battarel Date: Wed, 26 Feb 2014 15:57:43 +0100 Subject: [PATCH] Fix: default ref was DOLIBARR instead of SPECIMEN, so specimen generation did not work and crashed dolibarr --- htdocs/contrat/class/contrat.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/contrat/class/contrat.class.php b/htdocs/contrat/class/contrat.class.php index 61e41356b6b..b7ad87e644d 100644 --- a/htdocs/contrat/class/contrat.class.php +++ b/htdocs/contrat/class/contrat.class.php @@ -1689,7 +1689,7 @@ class Contrat extends CommonObject $this->id=0; $this->specimen=1; - $this->ref = 'DOLIBARR'; + $this->ref = 'SPECIMEN'; $this->socid = 1; $this->statut= 0; $this->date_contrat = dol_now();