# HG changeset patch # User rejo # Date 1207508092 0 # Node ID 7863d881b8a58045018d829546e25005ab5ea7c8 # Parent 155178ad24e453b2bdd7ebf1c79d0a29a35fa562 [feladat @ 239] Bugfix. Adding a new master zone without using the template caused creation of malformed SOA record. diff -r 155178ad24e4 -r 7863d881b8a5 inc/record.inc.php --- 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).")";