From dc2dca2d95bccb0c93fa595725bbc608d3fb9e23 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 28 Aug 2012 03:45:40 -0400
Subject: [PATCH] Fixed: FS#2248 - Client delete mysql error - mail traffic statistics get remobved correctly now as well beside the web traffic stats

---
 interface/web/dns/dns_wizard.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/interface/web/dns/dns_wizard.php b/interface/web/dns/dns_wizard.php
index cdb2448..18c7529 100644
--- a/interface/web/dns/dns_wizard.php
+++ b/interface/web/dns/dns_wizard.php
@@ -56,7 +56,7 @@
 
 
 // Load the templates
-$records = $app->db->queryAllRecords("SELECT * FROM dns_template WHERE visible = 'Y'");
+$records = $app->db->queryAllRecords("SELECT * FROM dns_template WHERE visible = 'Y' ORDER BY name ASC");
 $template_id_option = '';
 $n = 0;
 foreach($records as $rec){

--
Gitblit v1.9.1