From da2f61d1874a0f6cd42e9540468fa72d8024e43c Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 10 Sep 2003 14:20:36 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20du=20mod=E8le=20de=20propale=20par=20d?= =?UTF-8?q?=E9faut=20lors=20de=20l'init?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/includes/modules/modPropale.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/includes/modules/modPropale.class.php b/htdocs/includes/modules/modPropale.class.php index 50d6213c0ec..f33e8726367 100644 --- a/htdocs/includes/modules/modPropale.class.php +++ b/htdocs/includes/modules/modPropale.class.php @@ -91,7 +91,8 @@ class modPropale "insert into llx_rights_def values (26,'Clôturer les propositions commerciales','propale','d',0);", "insert into llx_rights_def values (27,'Supprimer les propositions commerciales','propale','d',0);", "INSERT INTO llx_boxes_def (name,file) VALUES('Proposition commerciales', 'box_propales.php');", - "REPLACE INTO llx_propal_model_pdf SET nom = '".$const[0][2]."'" + "REPLACE INTO llx_propal_model_pdf SET nom = '".$const[0][2]."'", + "REPLACE INTO llx_const SET name = 'PROPALE_ADDON', value='mod_propale_ivoire', visible=0" ); //"insert into llx_rights_def values (23,'Modifier les propositions commerciales d\'autrui','propale','m',0);", for ($i = 0 ; $i < sizeof($sql) ; $i++)