tbrehm
2007-08-06 8e23f2edc1af1b0d998bf2387520caada0edafe5
interface/web/dns/dns_soa_edit.php
@@ -99,6 +99,7 @@
   function onSubmit() {
      global $app, $conf;
      
      if($_SESSION["s"]["user"]["typ"] != 'admin') {
      // Get the limits of the client
      $client_group_id = $_SESSION["s"]["user"]["default_group"];
      $client = $app->db->queryOneRecord("SELECT limit_dns_zone, default_dnsserver FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = $client_group_id");
@@ -122,6 +123,7 @@
            }
         }
      }
      }
      
      // Set the serial
      $this->dataRecord["serial"] = time();