interface/web/dns/dns_soa_edit.php
@@ -155,6 +155,11 @@ $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(); }