This should save us another Notice

This commit is contained in:
Mark Schouten 2014-09-26 14:23:39 +02:00
parent db85fc2dcd
commit 4881858d68

View file

@ -69,7 +69,7 @@ function _create_record($name, $records, $input, $zoneurl) {
'disabled' => false,
'type' => $input['type'],
'name' => $name,
'ttl' => $input['ttl'] ? $input['ttl'] : $defaults['ttl'],
'ttl' => isset($input['ttl']) ? $input['ttl'] : $defaults['ttl'],
'priority' => $input['priority'] ? $input['priority'] : $defaults['priority'],
'content' => $content));