From 78f038766ef6225a81b1cc80771c554aa1c25aa1 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Thu, 26 Jan 2012 23:08:20 +0100
Subject: [PATCH] Sort emailing submodules by name

---
 htdocs/comm/mailing/cibles.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/comm/mailing/cibles.php b/htdocs/comm/mailing/cibles.php
index ddc349f5d5c..9f4f5087cee 100644
--- a/htdocs/comm/mailing/cibles.php
+++ b/htdocs/comm/mailing/cibles.php
@@ -275,7 +275,7 @@ if ($mil->fetch($id) >= 0)
 			}
 
 			// Sort $modulenames
-			// TODO
+			sort($modulenames);
 
 			// Loop on each submodule
             foreach($modulenames as $modulename)
-- 
GitLab