From 18dfaf5ee702e17d9f694b47c6d372da8fc6c45d Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 26 Nov 2007 16:38:20 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20erreur=20sql=20si=20date=20de=20livraiso?= =?UTF-8?q?n=20n'est=20pas=20utilis=E9=20dans=20les=20propals?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/propal.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/propal.class.php b/htdocs/propal.class.php index 93e123b020c..908f7362ec5 100644 --- a/htdocs/propal.class.php +++ b/htdocs/propal.class.php @@ -1890,6 +1890,8 @@ class Propal extends CommonObject */ function create_from() { + global $conf; + $this->fin_validite = $this->datep + ($this->duree_validite * 24 * 3600); // on vérifie si la ref n'est pas utilisée