diff --git a/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc b/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc index 8d29919db..e16860a2c 100644 --- a/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc +++ b/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc @@ -681,12 +681,12 @@ class updatedns if (!empty($OldIP)) { /* Your Hostname already exists, deleting and creating it again */ $changes = array(); - $changes[] = $r53->prepareChange(DELETE, $hostname, $RecordType, $OldTTL, $OldIP); - $changes[] = $r53->prepareChange(CREATE, $hostname, $RecordType, $NewTTL, $NewIP); + $changes[] = $r53->prepareChange("DELETE", $hostname, $RecordType, $OldTTL, $OldIP); + $changes[] = $r53->prepareChange("CREATE", $hostname, $RecordType, $NewTTL, $NewIP); $result = $r53->changeResourceRecordSets("/hostedzone/$ZoneID", $changes); } else { /* Your Hostname does not exist yet, creating it */ - $changes = $r53->prepareChange(CREATE, $hostname, $RecordType, $NewTTL, $NewIP); + $changes = $r53->prepareChange("CREATE", $hostname, $RecordType, $NewTTL, $NewIP); $result = $r53->changeResourceRecordSets("/hostedzone/$ZoneID", $changes); } }