inc/record.inc.php
changeset 133 7863d881b8a5
parent 128 12f5e0869676
child 134 a8228f676bf7
--- 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).")";