dcy
2010-07-17 a59731a3cc9c0fc6fba481e83d56ebd22ed3c87d
interface/web/dns/dns_soa_edit.php
@@ -154,7 +154,12 @@
      if(stristr($this->dataRecord["mbox"],'@')) {
         $this->dataRecord["mbox"] = str_replace('@','.',$this->dataRecord["mbox"]);
      }
      //* Check if a secondary zone with the same name already exists
      $tmp = $app->db->queryOneRecord("SELECT count(id) as number FROM dns_slave WHERE origin = \"".$this->dataRecord["origin"]."\" AND server_id = \"".$this->dataRecord["server_id"]."\"");
      if($tmp["number"] > 0) {
           $app->error($app->tform->wordbook["origin_error_unique"]);
      }
      parent::onSubmit();
   }
@@ -219,4 +224,4 @@
$page = new page_action;
$page->onLoad();
?>
?>