summaryrefslogtreecommitdiffstats
path: root/usr/local/captiveportal
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-12-11 17:15:31 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-12-11 17:15:31 +0000
commitbba1c4ec796524cc34648b2eb0ce42591d3c8042 (patch)
tree2bc61d96fa49a4b7d91f6a988ecce1a58de1aa2a /usr/local/captiveportal
parent84e5047da7fe2dba935ca55604d61542422e9b00 (diff)
downloadpfsense-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-xusr/local/captiveportal/index.php2
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");
}
OpenPOWER on IntegriCloud