backport
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Tue, 31 May 2005 05:04:20 +0000 (05:04 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:29:05 +0000 (23:29 +0200)
Patches applied:

 * opensource@polytechnique.org--2005/platal--release--0.9.6--patch-26
   fix x.net lists

git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-668

htdocs/listes/admin.php

index e858256..8f4cfe2 100644 (file)
@@ -50,7 +50,7 @@ if (Env::has('add_member')) {
 }
 
 if (Env::has('del_member')) {
-    $client->mass_unsubscribe($liste, Array(Env::get('del_member').'@'.$domain));
+    $client->mass_unsubscribe($liste, Array(Env::get('del_member').'@'.$globals->mail->domain));
     header("Location: {$_SERVER['PHP_SELF']}?liste=$liste");
 }
 
@@ -71,7 +71,7 @@ if (Env::has('add_owner')) {
 }
 
 if (Env::has('del_owner')) {
-    $client->del_owner($liste, Env::get('del_owner').'@'.$domain);
+    $client->del_owner($liste, Env::get('del_owner').'@'.$globals->mail->domain);
     header("Location: {$_SERVER['PHP_SELF']}?liste=$liste");
 }