diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-12-11 17:15:31 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-12-11 17:15:31 +0000 |
commit | bba1c4ec796524cc34648b2eb0ce42591d3c8042 (patch) | |
tree | 2bc61d96fa49a4b7d91f6a988ecce1a58de1aa2a /usr/local/captiveportal | |
parent | 84e5047da7fe2dba935ca55604d61542422e9b00 (diff) | |
download | pfsense-bba1c4ec796524cc34648b2eb0ce42591d3c8042.zip pfsense-bba1c4ec796524cc34648b2eb0ce42591d3c8042.tar.gz |
Do not use blank variable $type. Use the same variable $cpdb[$i][2] that is being used in the other calls.
Diffstat (limited to 'usr/local/captiveportal')
-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 b6b7659..f8271f1 100755 --- a/usr/local/captiveportal/index.php +++ b/usr/local/captiveportal/index.php @@ -335,7 +335,7 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut $clientip, $clientmac); if ($acct_val == 1) - captiveportal_logportalauth($username,$clientmac,$clientip,$type,"RADIUS ACCOUNTING FAILED"); + captiveportal_logportalauth($username,$clientmac,$clientip,$cpdb[$i][2],"RADIUS ACCOUNTING FAILED"); } |