Code

Fixed white page
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 22 Oct 2007 09:42:55 +0000 (09:42 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 22 Oct 2007 09:42:55 +0000 (09:42 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7617 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_termDNS.inc

index 97dbc5bc9e8dab1efa49c47ef6eb443cc343e0a4..4fe2074137dd5991a3093a2e5ab28f1d91c06e8a 100644 (file)
@@ -773,6 +773,9 @@ class termDNS extends plugin
         show_ldap_error($ldap->get_error(), sprintf(_("Saving of terminal/dns account with dn '%s' failed."),$this->dn));
       }
 
+      $tmp2 = new servdns($this->config,$this->dn);
+      $tmp2->handle_post_events("modify")
+
       $this->dnsEntry =  $backup_dnsEntry;
     }
   }
@@ -854,11 +857,8 @@ class termDNS extends plugin
         $tmp['plProvidedAcls']["Records"]        = _("DNS records");
         $tmp['plProvidedAcls']["zoneName"]       = _("Zone name");
         $tmp['plProvidedAcls']["dNSTTL"]         = _("TTL");
+        break;
       }
-
-      /* Handle post event */
-      $tmp2 = new servdns($this->config,$this->dn);
-      $tmp2->handle_post_events("modify");
     }
     return($tmp);
   }