inc/record.inc.php
changeset 19 f9ea2a05149b
parent 13 2ff220cfde13
child 21 31e17a9406eb
equal deleted inserted replaced
18:e96267359ab7 19:f9ea2a05149b
   132 	{
   132 	{
   133 		error(ERR_RECORD_ACCESS_DENIED);
   133 		error(ERR_RECORD_ACCESS_DENIED);
   134 	}
   134 	}
   135 	if (is_numeric($zoneid))
   135 	if (is_numeric($zoneid))
   136 	{
   136 	{
   137 		validate_input($recordid, $zoneid, $type, $content, $name, $prio, $ttl);
   137 		validate_input($zoneid, $type, $content, $name, $prio, $ttl);
   138                 $change = time();
   138                 $change = time();
   139                 $db->query("UPDATE records set name='$name', type='$type', content='$content', ttl='$ttl', prio='$prio', change_date='$change' WHERE id=$recordid");
   139                 $db->query("UPDATE records set name='$name', type='$type', content='$content', ttl='$ttl', prio='$prio', change_date='$change' WHERE id=$recordid");
   140 		
   140 		
   141 		/*
   141 		/*
   142 		 * Added by DeViCeD - Update SOA Serial number
   142 		 * Added by DeViCeD - Update SOA Serial number