diff options
author | Phil Davis <phil.davis@inf.org> | 2016-04-07 03:49:53 +0545 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-04-06 17:21:40 -0500 |
commit | 00e4fa5838d94930942a5d6cf933ca22586467de (patch) | |
tree | 34da10f398f279ce476f42b77910a5e5630cde0c | |
parent | e7d4e8f4024f65692dc61863b9ae35fb7731d991 (diff) | |
download | pfsense-00e4fa5838d94930942a5d6cf933ca22586467de.zip pfsense-00e4fa5838d94930942a5d6cf933ca22586467de.tar.gz |
Redmine #6081 do not reuse index var
The value of $i needs to be kept constant from the outer loop - do not reuse it here.
-rw-r--r-- | src/usr/local/www/services_dnsmasq.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/services_dnsmasq.php b/src/usr/local/www/services_dnsmasq.php index e0ad975..f82a0f9 100644 --- a/src/usr/local/www/services_dnsmasq.php +++ b/src/usr/local/www/services_dnsmasq.php @@ -403,7 +403,7 @@ foreach ($a_hosts as $i => $hostent): <?php if ($hostent['aliases']['item'] && is_array($hostent['aliases']['item'])): - foreach ($hostent['aliases']['item'] as $i => $alias): + foreach ($hostent['aliases']['item'] as $alias): ?> <tr> <td> |