From 8ac8af0f407c3a9627baa8c9875c89f359d390fe Mon Sep 17 00:00:00 2001 From: BENKE Charles Date: Mon, 17 Feb 2014 12:12:18 +0100 Subject: [PATCH] Update modProjet.class.php bad incrementation --- htdocs/core/modules/modProjet.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/core/modules/modProjet.class.php b/htdocs/core/modules/modProjet.class.php index fb7fa20533b..a246e8eb371 100644 --- a/htdocs/core/modules/modProjet.class.php +++ b/htdocs/core/modules/modProjet.class.php @@ -87,12 +87,12 @@ class modProjet extends DolibarrModules $this->const[$r][4] = 0; $r++; - $r++; $this->const[$r][0] = "PROJECT_ADDON_PDF_ODT_PATH"; $this->const[$r][1] = "chaine"; $this->const[$r][2] = "DOL_DATA_ROOT/doctemplates/projects"; $this->const[$r][3] = ""; $this->const[$r][4] = 0; + $r++; $this->const[$r][0] = "PROJECT_TASK_ADDON_PDF"; $this->const[$r][1] = "chaine"; @@ -108,7 +108,6 @@ class modProjet extends DolibarrModules $this->const[$r][4] = 0; $r++; - $r++; $this->const[$r][0] = "PROJECT_TASK_ADDON_PDF_ODT_PATH"; $this->const[$r][1] = "chaine"; $this->const[$r][2] = "DOL_DATA_ROOT/doctemplates/tasks";