Revision 2c393b55
Added by Jim Pingle almost 4 years ago
src/etc/inc/dyndns.class | ||
---|---|---|
351 | 351 |
$this->_dnsUpdateURL = $dnsUpdateURL; |
352 | 352 |
$this->_dnsResultMatch = $dnsResultMatch; |
353 | 353 |
$this->_dnsRequestIf = get_failover_interface($dnsRequestIf); |
354 |
if ($dnsMaxCacheAge !== "") {
|
|
354 |
if (($dnsMaxCacheAge !== null) && ($dnsMaxCacheAge !== "")) {
|
|
355 | 355 |
$this->_dnsMaxCacheAgeDays = (int)$dnsMaxCacheAge; |
356 | 356 |
} else { |
357 | 357 |
switch ($dnsService) { |
Also available in: Unified diff
Add null check. Fixes #9092
If the value is undefined in config.xml this will be null, not an empty
string.