equal
deleted
inserted
replaced
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 |