diff --git a/interface/web/mail/list/mail_domain.list.php b/interface/web/mail/list/mail_domain.list.php index b116801b8de43e6b8c37c0d9aa5bc7c7aa5e7261..2476b067f0092f18f5001162eaed546fe7e1cfc5 100644 --- a/interface/web/mail/list/mail_domain.list.php +++ b/interface/web/mail/list/mail_domain.list.php @@ -66,7 +66,7 @@ $liste["item"][] = array( 'field' => "server_id", 'prefix' => "%", 'suffix' => "%", 'datasource' => array ( 'type' => 'SQL', - 'querystring' => 'SELECT server_id,server_name FROM server WHERE {AUTHSQL} ORDER BY server_name', + 'querystring' => 'SELECT a.server_id, a.server_name FROM server a, mail_domain b WHERE (a.server_id = b.server_id) AND ({AUTHSQL-B}) ORDER BY a.server_name', 'keyfield'=> 'server_id', 'valuefield'=> 'server_name' ),