From 3520513c6bed3c5be4aa06bcdd1e5fe502346c2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcos=20Garci=CC=81a?= <marcosgdf@gmail.com>
Date: Tue, 31 Jul 2012 00:53:05 +0200
Subject: [PATCH] Fixed an error that I introduced in a previous commit...

---
 htdocs/core/modules/modMailmanSpip.class.php | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/htdocs/core/modules/modMailmanSpip.class.php b/htdocs/core/modules/modMailmanSpip.class.php
index d122a4bb9dc..e56057bd334 100644
--- a/htdocs/core/modules/modMailmanSpip.class.php
+++ b/htdocs/core/modules/modMailmanSpip.class.php
@@ -63,6 +63,12 @@ class modMailmanSpip extends DolibarrModules
 
 		// Config pages
 		$this->config_page_url = array('mailman.php@adherents');
+
+		// Constants
+		$this->const = array();
+		$this->const[1] = array("ADHERENT_MAILMAN_UNSUB_URL","chaine","http://lists.domain.com/cgi-bin/mailman/admin/%LISTE%/members?adminpw=%MAILMAN_ADMINPW%&user=%EMAIL%","Url de désinscription aux listes mailman");
+		$this->const[2] = array("ADHERENT_MAILMAN_URL","chaine","http://lists.domain.com/cgi-bin/mailman/admin/%LISTE%/members?adminpw=%MAILMAN_ADMINPW%&send_welcome_msg_to_this_batch=1&subscribees=%EMAIL%","Url pour les inscriptions mailman");
+		$this->const[3] = array("ADHERENT_MAILMAN_LISTS","chaine","","Mailing-list to subscribe new members to");
 		
 		// Boxes
 		$this->boxes = array();
-- 
GitLab