fix email deactivation

This commit is contained in:
Antoine Beaupr�� 2014-10-13 23:02:13 +00:00
parent b906850eb5
commit 7eba1bb1f6
1 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ foreach ($domains as $key => $domain) {
if (!$confirmed) print '</ul>'; if (!$confirmed) print '</ul>';
} }
$mail_dom = $mail->enum_domains(); $mail_dom = $dom->enum_domains();
if ($confirmed) { if ($confirmed) {
print "<pre>"; print "<pre>";
@ -152,7 +152,7 @@ reset($mail_dom);
# 1.3 foreach mail domain, we list the email hashes # 1.3 foreach mail domain, we list the email hashes
foreach ($mail_dom as $key => $domain) { foreach ($mail_dom as $key => $domain) {
if (!$confirmed) print '' . $domain['domaine'] . '</h4><ul>'; if (!$confirmed) print '' . $domain['domaine'] . '</h4><ul>';
$mails = $mail->enum_domain_mails($domain['id']); $mails = $dom->enum_domain_mails($domain['id']);
foreach ($mails as $key => $mail) { foreach ($mails as $key => $mail) {
if ($mail['islocal']) { if ($mail['islocal']) {
if (!$confirmed) print '<li>' . $mail['address'] . '@' . $domain['domaine']; if (!$confirmed) print '<li>' . $mail['address'] . '@' . $domain['domaine'];