rollback of #694

This commit is contained in:
Benjamin Sonntag 2006-05-25 12:59:31 +00:00
parent c5946600b7
commit 7b6844957e
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class m_mail {
function enum_doms_mails($dom,$sort=0,$letter="") {
global $err,$cuid,$db;
$err->log("mail","enum_doms_mails",$dom);
$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;
while ($db->next_record()) {
if ($db->f("pop")) {