bernd commited on 2007-08-13 13:16:15
Zeige 1 geänderte Dateien mit 3 Einfügungen und 2 Löschungen.
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@626 87cf0b9e-d624-0410-a070-f6ee81989793
... | ... |
@@ -60,12 +60,13 @@ function get_domain_list($customerno, $uid = NULL) |
60 | 60 |
if ($uid !== NULL) |
61 | 61 |
{ |
62 | 62 |
$uid = (int) $uid; |
63 |
- $query .= " useraccount={$uid};"; |
|
63 |
+ $query .= " useraccount={$uid}"; |
|
64 | 64 |
} |
65 | 65 |
else |
66 | 66 |
{ |
67 |
- $query .= " kunde={$customerno};"; |
|
67 |
+ $query .= " kunde={$customerno}"; |
|
68 | 68 |
} |
69 |
+ $query .= " ORDER BY domainname,tld"; |
|
69 | 70 |
$result = db_query($query); |
70 | 71 |
$domains = array(); |
71 | 72 |
DEBUG('Result set is '.mysql_num_rows($result)." rows.<br />\n"); |
72 | 73 |