summaryrefslogtreecommitdiffstats
path: root/usr/local/captiveportal/index.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-12-12 17:37:29 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-12-12 17:37:29 +0000
commitef03e6a517737440d48a033f777d1176efcf6842 (patch)
treed88e71660afc564e3c4ebde49034d6602e7f58c1 /usr/local/captiveportal/index.php
parent6a92a6e154969035d2797e99891f174c8de49417 (diff)
downloadpfsense-ef03e6a517737440d48a033f777d1176efcf6842.zip
pfsense-ef03e6a517737440d48a033f777d1176efcf6842.tar.gz
Duh. $type is a variable.
Diffstat (limited to 'usr/local/captiveportal/index.php')
-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 81a74f1..c2ff37f 100755
--- a/usr/local/captiveportal/index.php
+++ b/usr/local/captiveportal/index.php
@@ -336,7 +336,7 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut
$clientip,
$clientmac);
- if(!type)
+ if(!$type)
log_error("WARNING: \$type has not been set in captiveportal/index.php");
if ($acct_val == 1)
OpenPOWER on IntegriCloud