Correction d'un bug empechant le tri par lettre des boites mails

This commit is contained in:
franck 2007-04-19 07:35:36 +00:00
parent 27c70f2047
commit 9f5ba7ea82
1 changed files with 25 additions and 25 deletions

View File

@ -108,7 +108,7 @@ class m_mail {
if($letter == "@")
$letter = "";
else
$letter = "%$letter";
$letter .= "%";
$db->query("SELECT mail,pop,alias FROM mail_domain WHERE mail LIKE '".addslashes($letter)."@".addslashes($dom)."' AND uid='$cuid' AND type=0;");
$res=array(); $i=0;
while ($db->next_record()) {