diff -r 0205771bf84c -r 654262e698e2 inc/record.inc.php --- a/inc/record.inc.php Wed Mar 26 09:21:53 2008 +0000 +++ b/inc/record.inc.php Wed Mar 26 09:31:12 2008 +0000 @@ -337,11 +337,12 @@ $query = "INSERT INTO records VALUES (''," . $db->quote($domain_id) . "," . $db->quote($domain) . "," - . $db->quote($ns1.' '.$hm.' 1') - . ",'SOA'," + . "'SOA'," + . $db->quote($ns1.' '.$hm.' 1') . "," . $db->quote($ttl) . ", 0, " . $db->quote($now).")"; + echo "
" . $query . ""; $response = $db->query($query); if (PEAR::isError($response)) { error($response->getMessage()); return false; } } elseif ($domain_id) { @@ -363,11 +364,12 @@ $query = "INSERT INTO records VALUES (''," . $db->quote($domain_id) . "," . $db->quote($name) . "," + . $db->quote($type) . "," . $db->quote($content) . "," - . $db->quote($type) . "," . $db->quote($ttl) . "," . $db->quote($prio) . "," . $db->quote($now) . ")"; + echo "
" . $query . ""; $response = $db->query($query); if (PEAR::isError($response)) { error($response->getMessage()); return false; } }