From 617a2701531cd6ca75b780798496e7f6800fc3bb Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 14 Apr 2021 09:20:49 +0200 Subject: ddns.php: make $ips *really* an array() --- ddns.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddns.php b/ddns.php index 7437a9f..a1aa980 100644 --- a/ddns.php +++ b/ddns.php @@ -83,7 +83,7 @@ if (array_key_exists('address', $_GET)) $ips = explode(',', $_GET['address']); else - $ips[0] = 'auto'; + $ips = array('auto'); foreach ($ips as $i => $ip) if ($ip == 'auto') -- cgit v1.2.3-70-g09d2