diff --git a/bureau/admin/mail_list.php b/bureau/admin/mail_list.php index a83c9bfa..9eb63dd3 100644 --- a/bureau/admin/mail_list.php +++ b/bureau/admin/mail_list.php @@ -48,7 +48,6 @@ $fatal=false; if ($domain=$dom->get_domain_byid($domain_id)) { if(!($mails_list = $mail->enum_domain_mails($domain_id,$search,$offset,$count))) { $error=$err->errstr(); - $fatal=true; } } else { $error=$err->errstr(); @@ -61,7 +60,7 @@ if ($fatal) { } else { // Mail creation form -if ($quota->cancreate("mail") && $domain) { +if ($quota->cancreate("mail")) { ?>

@@ -71,7 +70,9 @@ if ($quota->cancreate("mail") && $domain) {
+ +if (!empty($mails_list)) { + ?>

:

@@ -152,5 +153,5 @@ if (date("Y-m-d")==substr($val["lastlogin"],0,10)) echo substr($val["lastlogin"]