inc/record.inc.php
changeset 127 e2c54e888f7e
parent 126 cb06e3e29ed8
child 128 12f5e0869676
--- a/inc/record.inc.php	Thu Apr 03 21:48:36 2008 +0000
+++ b/inc/record.inc.php	Thu Apr 03 22:32:52 2008 +0000
@@ -112,6 +112,7 @@
 		global $db;
 		// TODO: no need to check for numeric-ness of zone id if we check with validate_input as well?
 		if (is_numeric($record['zid'])) {
+			debug_print($record['type']);
 			validate_input($record['zid'], $record['type'], $record['content'], $record['name'], $record['prio'], $record['ttl']);
 			$query = "UPDATE records 
 					SET name=".$db->quote($record['name']).",