diff options
author | Erich Eckner <git@eckner.net> | 2021-04-14 09:20:49 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-04-14 09:20:49 +0200 |
commit | 617a2701531cd6ca75b780798496e7f6800fc3bb (patch) | |
tree | 70899ecc7dfe20b9cfb6b7696eaf2913c61c2548 | |
parent | 18f0b70cdfcf5bc20a0d74ea08f5605c132082e2 (diff) | |
download | ddns-617a2701531cd6ca75b780798496e7f6800fc3bb.tar.xz |
ddns.php: make $ips *really* an array()
-rw-r--r-- | ddns.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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') |