Browse code

Sortiere Domains alphabetisch bei der Liste der E-Mail-Accounts

Bernd Wurst authored on28/02/2013 06:21:14
Showing1 changed files
... ...
@@ -121,7 +121,7 @@ function get_vmail_accounts()
121 121
 function get_vmail_domains()
122 122
 {
123 123
 	$uid = (int) $_SESSION['userinfo']['uid'];
124
-	$result = db_query("SELECT id, domainname, server FROM mail.v_vmail_domains WHERE useraccount='{$uid}'");
124
+	$result = db_query("SELECT id, domainname, server FROM mail.v_vmail_domains WHERE useraccount='{$uid}' ORDER BY domainname");
125 125
 	if (mysql_num_rows($result) == 0)
126 126
 		system_failure('Sie haben keine Domains für virtuelle Mail-Verarbeitung');
127 127
 	$ret = array();