mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc PHP Warning: Use of undefined constant TTL ... for https://github.com/opnsense/core/issues/3400
This commit is contained in:
@@ -665,7 +665,7 @@ class updatedns
|
||||
$oldIPResult = null;
|
||||
foreach ($a_result as $resultItem) {
|
||||
if ($RecordType === $resultItem['Type']) {
|
||||
$oldTTLResult = $resultItem[TTL];
|
||||
$oldTTLResult = $resultItem["TTL"];
|
||||
$oldIPResult = $resultItem["ResourceRecords"][0];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user