From: x2000chevalier Date: Sun, 10 Oct 2004 09:51:30 +0000 (+0000) Subject: modif de la comm X-Git-Tag: xorg/old~1341 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=57bb87a1ec3ac2d5a9be77fc8bb241d188ffaaa3;p=platal.git modif de la comm --- diff --git a/htdocs/routage-mail.php b/htdocs/routage-mail.php index ec147a8..5a2e967 100644 --- a/htdocs/routage-mail.php +++ b/htdocs/routage-mail.php @@ -18,7 +18,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: routage-mail.php,v 1.7 2004-09-05 12:54:18 x2000habouzit Exp $ + $Id: routage-mail.php,v 1.8 2004-10-10 09:51:30 x2000chevalier Exp $ ***************************************************************************/ require("auto.prepend.inc.php"); @@ -49,7 +49,7 @@ list($grx) = mysql_fetch_row($res); $page->assign('grx',$grx); $page->assign('domaine',substr($grx,0,-3)); -$page->mysql_assign("SELECT alias,expire FROM aliases WHERE id='{$_SESSION['uid']}' AND type!='homonyme'", 'alias'); +$page->mysql_assign("SELECT alias,expire FROM aliases WHERE id='{$_SESSION['uid']}' AND (type='a_vie' OR type='alias' OR type='epouse') ORDER BY type!='epouse', LENGTH(alias)", 'alias'); $page->assign('emails',$redirect->emails); $page->run();