summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-12-03 09:23:31 -0500
committerjim-p <jimp@pfsense.org>2010-12-03 09:23:31 -0500
commit273e9bf7dda8b7eb614bbb99d54389ba9c5f2238 (patch)
tree43bf732c8ee57c656bfe1553c65e6c1a6b0f95b3
parent5479df470b7e2c66693871cc53ce3ae356fcbd65 (diff)
downloadpfsense-273e9bf7dda8b7eb614bbb99d54389ba9c5f2238.zip
pfsense-273e9bf7dda8b7eb614bbb99d54389ba9c5f2238.tar.gz
Rename this variable to avoid collisions. Fixes #1067
-rwxr-xr-xusr/local/www/fbegin.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/fbegin.inc b/usr/local/www/fbegin.inc
index 9fd58c8..b290899 100755
--- a/usr/local/www/fbegin.inc
+++ b/usr/local/www/fbegin.inc
@@ -170,9 +170,9 @@ $ifentries = get_configured_interface_with_descr();
foreach ($ifentries as $ent => $entdesc) {
if (is_array($config['interfaces'][$ent]['wireless']) &&
preg_match($g['wireless_regex'], $config['interfaces'][$ent]['if']))
- $ifdescrs[$ent] = $entdesc;
+ $wifdescrs[$ent] = $entdesc;
}
-if (count($ifdescrs) > 0)
+if (count($wifdescrs) > 0)
$status_menu[] = array("Wireless", "/status_wireless.php");
$status_menu = msort(array_merge($status_menu, return_ext_menu("Status")),0);
OpenPOWER on IntegriCloud