From c1fcaed2ee8f05a5030fe4e8e211ca4eae7a9489 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Tue, 11 Jun 2013 11:44:57 -0400
Subject: [PATCH] - Fixed FS#2921 - RBL list field in server config can not be empty.

---
 interface/web/mail/mail_user_list.php |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/interface/web/mail/mail_user_list.php b/interface/web/mail/mail_user_list.php
index 1cc8554..fcbbaa7 100644
--- a/interface/web/mail/mail_user_list.php
+++ b/interface/web/mail/mail_user_list.php
@@ -31,6 +31,12 @@
 		} else {
 			$app->tpl->setVar('mailboxlist_webmail_link',0);
 		}
+
+    if($global_config["enable_custom_login"] == "y") {
+        $app->tpl->setVar("enable_custom_login", 1);
+    } else {
+        $app->tpl->setVar("enable_custom_login", 0);
+    }
 		
 		parent::onShow();
 	}
@@ -38,6 +44,7 @@
 }
 
 $list = new list_action;
+$list->SQLOrderBy = 'ORDER BY email';
 $list->onLoad();
 
 

--
Gitblit v1.9.1