Correction d'un bug empechant le tri par lettre des boites mails
This commit is contained in:
parent
27c70f2047
commit
9f5ba7ea82
|
@ -108,7 +108,7 @@ class m_mail {
|
||||||
if($letter == "@")
|
if($letter == "@")
|
||||||
$letter = "";
|
$letter = "";
|
||||||
else
|
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;");
|
$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;
|
$res=array(); $i=0;
|
||||||
while ($db->next_record()) {
|
while ($db->next_record()) {
|
||||||
|
|
Loading…
Reference in New Issue