sort domain list alphabetically, since users with 30+ domains go nuts

This commit is contained in:
mlutfy 2009-02-06 14:49:50 +00:00
parent 16d7fc3bac
commit 132f5a4523
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class m_dom {
function enum_domains() {
global $db,$err,$cuid;
$err->log("dom","enum_domains");
$db->query("select * from domaines where compte='$cuid';");
$db->query("select * from domaines where compte='$cuid' order by domaine asc;");
$this->domains=array();
if ($db->num_rows()>0) {
while ($db->next_record()) {