mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
dns/dyndns: whitespace sweep
This commit is contained in:
@@ -731,7 +731,7 @@ class updatedns
|
||||
curl_setopt($ch, CURLOPT_URL, $zonesUrl);
|
||||
$output = json_decode(curl_exec($ch));
|
||||
$zoneId = null; // Set default value
|
||||
|
||||
|
||||
// Iterate zone objects, check if $fqdn is equal to or ends with zone name
|
||||
foreach ($output->result as $key => $zoneObj) {
|
||||
if (preg_match("/^{$zoneObj->name}$|\.{$zoneObj->name}$/", $fqdn)) {
|
||||
|
||||
Reference in New Issue
Block a user