From 04e933c40f9f9b7e474a4f2d75c9969f2699cc4a Mon Sep 17 00:00:00 2001 From: fhenry Date: Tue, 9 Apr 2013 21:58:25 +0200 Subject: [PATCH] Fix : admin ODT doctemplate path commande/project --- htdocs/admin/commande.php | 2 +- htdocs/admin/project.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/admin/commande.php b/htdocs/admin/commande.php index ebcb94110e9..23295efa17a 100644 --- a/htdocs/admin/commande.php +++ b/htdocs/admin/commande.php @@ -188,7 +188,7 @@ else if ($action == 'set_COMMANDE_FREE_TEXT') $mesg = "".$langs->trans("Error").""; } } -else if ($action='setModuleOptions') { +else if ($action=='setModuleOptions') { if (dolibarr_set_const($db, "COMMANDE_ADDON_PDF_ODT_PATH",GETPOST('value1'),'chaine',0,'',$conf->entity)) { // La constante qui a ete lue en avant du nouveau set diff --git a/htdocs/admin/project.php b/htdocs/admin/project.php index 9f28b57be5b..e9973758c73 100644 --- a/htdocs/admin/project.php +++ b/htdocs/admin/project.php @@ -152,7 +152,8 @@ else if ($action == 'setmod') dolibarr_set_const($db, "PROJECT_ADDON",$value,'chaine',0,'',$conf->entity); } -else if ($action='setModuleOptions') { + +else if ($action=='setModuleOptions') { if (dolibarr_set_const($db, "PROJECT_ADDON_PDF_ODT_PATH",GETPOST('value1'),'chaine',0,'',$conf->entity)) { // La constante qui a ete lue en avant du nouveau set