[feladat @ 239]
Bugfix. Adding a new master zone without using the template caused creation of malformed SOA record.
--- a/inc/record.inc.php Sun Apr 06 18:32:32 2008 +0000
+++ b/inc/record.inc.php Sun Apr 06 18:54:52 2008 +0000
@@ -336,8 +336,8 @@
$query = "INSERT INTO records (domain_id, name, content, type, ttl, prio, change_date) VALUES ("
. $db->quote($domain_id) . ","
. $db->quote($domain) . ","
+ . $db->quote($ns1.' '.$hm.' 1') . ","
. $db->quote('SOA').","
- . $db->quote($ns1.' '.$hm.' 1') . ","
. $db->quote($ttl)
. ", 0, "
. $db->quote($now).")";