From 1ae0e263c7ba8f0f6f8c9fe7752757ac21caa937 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 28 Nov 2006 06:10:52 +0000 Subject: [PATCH] Fixed aplly button problems git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5229 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_termDNS.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/admin/systems/class_termDNS.inc b/plugins/admin/systems/class_termDNS.inc index 86f56a763..64f63615d 100644 --- a/plugins/admin/systems/class_termDNS.inc +++ b/plugins/admin/systems/class_termDNS.inc @@ -420,6 +420,7 @@ class termDNS extends plugin /* Add ipHostNumber to aRecords */ + $backup_dnsEntry = $this->dnsEntry; $this->dnsEntry['RECORDS'][] = array("type"=>"aRecord","value"=>$this->ipHostNumber); /* Create diff and follow instructions @@ -464,6 +465,8 @@ class termDNS extends plugin if($ldap->get_error() != "Success"){ show_ldap_error($ldap->get_error(), sprintf(_("Saving of terminal/dns account with dn '%s' failed."),$this->dn)); } + + $this->dnsEntry = $backup_dnsEntry; } } -- 2.30.2