diff options
author | Ermal <eri@pfsense.org> | 2010-06-01 20:22:30 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-06-01 20:22:30 +0000 |
commit | 3bf8eb9345c930159f60bdadf10f670730a44afa (patch) | |
tree | f6c3e14c40d1b9c0b1d9bdcd937f3b5d8cf6ed48 /usr/local | |
parent | 5224b8e7d2bb6f6452d4d66c716c722178cf0ebe (diff) | |
download | pfsense-3bf8eb9345c930159f60bdadf10f670730a44afa.zip pfsense-3bf8eb9345c930159f60bdadf10f670730a44afa.tar.gz |
Use correct array to iterate.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/captiveportal/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php index 5990ec1..7d5494e 100755 --- a/usr/local/captiveportal/index.php +++ b/usr/local/captiveportal/index.php @@ -294,7 +294,7 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut $mac = captiveportal_passthrumac_findbyname($username); if (!empty($mac)) { if ($_POST['replacemacpassthru']) { - foreach ($a_passthrumacs as $idx => $macent) { + foreach ($config['captiveportal']['passthrumac'] as $idx => $macent) { if ($macent['mac'] == $mac['mac']) { unset($config['captiveportal']['passthrumac'][$idx]); $mac['mac'] = $clientmac; |