From: hickert Date: Tue, 28 Nov 2006 06:10:52 +0000 (+0000) Subject: Fixed aplly button problems X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1ae0e263c7ba8f0f6f8c9fe7752757ac21caa937;p=gosa.git Fixed aplly button problems git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5229 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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; } }