sort domain list (for email) alphabetically, since users with 30+ domains go nuts
This commit is contained in:
parent
132f5a4523
commit
f22ecfa0bc
|
@ -61,7 +61,7 @@ class m_mail {
|
||||||
global $db,$err,$cuid;
|
global $db,$err,$cuid;
|
||||||
$err->log("mail","enum_domains");
|
$err->log("mail","enum_domains");
|
||||||
if (!is_array($this->domains)) {
|
if (!is_array($this->domains)) {
|
||||||
$db->query("select * from domaines where compte='$cuid' AND gesmx=1;");
|
$db->query("select * from domaines where compte='$cuid' AND gesmx=1 order by domaines asc;");
|
||||||
$this->domains=array();
|
$this->domains=array();
|
||||||
if ($db->num_rows()>0) {
|
if ($db->num_rows()>0) {
|
||||||
while ($db->next_record()) {
|
while ($db->next_record()) {
|
||||||
|
|
Loading…
Reference in New Issue