dns/dyndns: whitespace sweep

This commit is contained in:
Franco Fichtner
2019-04-17 08:12:05 +02:00
parent c4efc0e6b3
commit b830ffa8aa
@@ -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)) {