From 615a0a96618fa99e7e452523145d6c0f238d4473 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 31 Jul 2013 09:33:43 -0400
Subject: [PATCH] Merged revisions 3960-4065 from stable branch.
---
interface/web/dns/dns_srv_edit.php | 16 ++++------------
1 files changed, 4 insertions(+), 12 deletions(-)
diff --git a/interface/web/dns/dns_srv_edit.php b/interface/web/dns/dns_srv_edit.php
index 893fcd2..e41b554 100644
--- a/interface/web/dns/dns_srv_edit.php
+++ b/interface/web/dns/dns_srv_edit.php
@@ -77,18 +77,10 @@
// Split the 3 parts of the SRV Record apart
$split = explode(' ', $this->dataRecord['data']);
-
- // Weight
- $this->dataRecord['weight'] = $split[0];
-
- // Port
- $this->dataRecord['port'] = $split[1];
-
- // Target
- $this->dataRecord['target'] = $split[2];
-
- // Bind the new datarecord to the template
- $app->tpl->setVar($this->dataRecord);
+
+ $app->tpl->setVar('weight', $split[0]);
+ $app->tpl->setVar('port', $split[1]);
+ $app->tpl->setVar('target', $split[2]);
parent::onShowEnd();
}
--
Gitblit v1.9.1