diff --git a/dns/dyndns/src/www/services_dyndns_edit.php b/dns/dyndns/src/www/services_dyndns_edit.php index bf3d92e87..d13e55212 100644 --- a/dns/dyndns/src/www/services_dyndns_edit.php +++ b/dns/dyndns/src/www/services_dyndns_edit.php @@ -139,7 +139,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { $input_errors[] = gettext("The username contains invalid characters."); } - if ((string)((int)$pconfig['ttl']) != $pconfig['ttl']) { + if (!empty($pconfig['ttl']) && (string)((int)$pconfig['ttl']) != $pconfig['ttl']) { $input_errors[] = gettext("The TTL value needs to be a valid integer number."); }