Sortiere VMail-Anzeige alphabetisch
bernd

bernd commited on 2010-09-01 08:45:12
Zeige 1 geänderte Dateien mit 1 Einfügungen und 1 Löschungen.


git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1794 87cf0b9e-d624-0410-a070-f6ee81989793
... ...
@@ -48,7 +48,7 @@ function get_account_details($id, $checkuid = true)
48 48
 function get_vmail_accounts()
49 49
 {
50 50
 	$uid = (int) $_SESSION['userinfo']['uid'];
51
-	$result = db_query("SELECT * from mail.v_vmail_accounts WHERE useraccount='{$uid}'");
51
+	$result = db_query("SELECT * from mail.v_vmail_accounts WHERE useraccount='{$uid}' ORDER BY domainname,local ASC");
52 52
 	$ret = array();
53 53
 	while ($line = mysql_fetch_assoc($result))
54 54
 	{
55 55