From b5edc532484abb36308f55c04aa0132d497d95ff Mon Sep 17 00:00:00 2001
From: quentusrex <quentusrex@ispconfig3>
Date: Fri, 31 Oct 2008 11:44:56 -0400
Subject: [PATCH] Fixing the way some User Interface text was used. For the quota on a mailbox I added 'in MB' so that the user knows what units the quota is in.

---
 interface/lib/classes/validate_dns.inc.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/interface/lib/classes/validate_dns.inc.php b/interface/lib/classes/validate_dns.inc.php
index c556da7..a161510 100644
--- a/interface/lib/classes/validate_dns.inc.php
+++ b/interface/lib/classes/validate_dns.inc.php
@@ -103,7 +103,7 @@
   if(substr($field, -1) == '.'){
     if($i > 2 && $empty > 1) $error .= $desc." ".$app->tform->wordbook['error_invalid_characters']."<br>\r\n";
   } else {
-    if($empty > 0) $error .= $desc." ".$app->tform->wordbook['error_invalid_characters']."<br>\r\n";
+    if($empty > 0 && $field != '') $error .= $desc." ".$app->tform->wordbook['error_invalid_characters']."<br>\r\n";
   }
 
   if(substr($field, -1) == '.' && $area == 'Name'){

--
Gitblit v1.9.1