From 1f07f6c2992974b03505467c394941cc573cce8d Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sun, 2 Sep 2007 20:19:02 +0200 Subject: [PATCH] Import patch from Gadz.org (fix duplicate alias request detection) Signed-off-by: Florent Bruneau --- modules/email.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/email.php b/modules/email.php index 356d32c..9648534 100644 --- a/modules/email.php +++ b/modules/email.php @@ -154,7 +154,7 @@ class EmailModule extends PLModule //vérifier que l'alias n'est pas déja en demande $it = new ValidateIterator (); while($req = $it->next()) { - if ($req->type == "alias" and $req->alias == $alias) { + if ($req->type == "alias" and $req->alias == $alias . '@' . $globals->mail->alias_dom) { $page->trig("L'alias $alias@{$globals->mail->alias_dom} a déja été demandé. Tu ne peux donc pas l'obtenir pour l'instant."); return ; -- 2.1.4