From 007d3fab19fc24e13bc5ead14bb738255dc725ce Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 27 May 2009 15:40:47 -0400 Subject: Stop adding a silly trailing space. --- config/tinydns/tinydns.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/tinydns/tinydns.inc b/config/tinydns/tinydns.inc index 063102da..dd72c740 100644 --- a/config/tinydns/tinydns.inc +++ b/config/tinydns/tinydns.inc @@ -1016,8 +1016,8 @@ EOD; function tinydns_cleanup_addedit_form_record() { /* Clean some things up and simplify per limited subset of TinyDNS record syntax before saving. */ - if((($_POST['recordtype'] == "SOA") || ($_POST['recordtype'] == "NS") || ($_POST['recordtype'] == "MX")) && substr($_POST['ipaddress'],-1) != ".") - $_POST['ipaddress'] = $_POST['ipaddress'] . "."; + //if((($_POST['recordtype'] == "SOA") || ($_POST['recordtype'] == "NS") || ($_POST['recordtype'] == "MX")) && substr($_POST['ipaddress'],-1) != ".") + // $_POST['ipaddress'] = $_POST['ipaddress'] . "."; if($_POST['recordtype'] == "TXT") { /* TinyDNS provides surrounding quotes for TXT records automatically so we check & remove them here */ @@ -1032,4 +1032,5 @@ function tinydns_cleanup_addedit_form_record() { } } } + ?> \ No newline at end of file -- cgit v1.2.3