Project

General

Profile

« Previous | Next » 

Revision e9869c5a

Added by Jim Pingle over 5 years ago

CF DDNS wants int for TTL. Issue #10196

View differences:

src/etc/inc/dyndns.class
820 820
								"type" => "{$recordType}",
821 821
								"proxied" => $this->_dnsProxied,
822 822
								"name" => "{$this->_dnsHost}",
823
								"ttl" => empty($this->_dnsTTL) ? "1" : $this->_dnsTTL
823
								"ttl" => empty($this->_dnsTTL) ? 1 : (int) $this->_dnsTTL
824 824
							);
825 825
							$data_json = json_encode($hostData);
826 826
							$updateHostId = "https://{$dnsServer}/client/v4/zones/{$zone}/dns_records/{$host}";

Also available in: Unified diff