diff --git a/bureau/admin/mail_list.php b/bureau/admin/mail_list.php index 0eba53d1..e8003d3d 100644 --- a/bureau/admin/mail_list.php +++ b/bureau/admin/mail_list.php @@ -29,6 +29,7 @@ include_once("head.php"); $fields = array ( "mail_arg" => array ("request", "integer", ""), // from mail_add.php in case of error "domain_id" => array ("request", "integer", ""), + "show_systemmails" => array ("request", "integer", ""), "search" => array ("request", "string", ""), "offset" => array ("request", "integer", 0), "count" => array ("request", "integer", 50), @@ -46,7 +47,7 @@ if(!$domain_id ) { $fatal=false; if ($domain=$dom->get_domain_byid($domain_id)) { - if(!($mails_list = $mail->enum_domain_mails($domain_id,$search,$offset,$count))) { + if(!($mails_list = $mail->enum_domain_mails($domain_id,$search,$offset,$count,$show_systemmails))) { $error=$err->errstr(); } } else { @@ -54,7 +55,6 @@ if ($domain=$dom->get_domain_byid($domain_id)) { $fatal=true; } - if ($fatal) { echo "