diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-12-12 17:37:29 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-12-12 17:37:29 +0000 |
commit | ef03e6a517737440d48a033f777d1176efcf6842 (patch) | |
tree | d88e71660afc564e3c4ebde49034d6602e7f58c1 /usr/local/captiveportal | |
parent | 6a92a6e154969035d2797e99891f174c8de49417 (diff) | |
download | pfsense-ef03e6a517737440d48a033f777d1176efcf6842.zip pfsense-ef03e6a517737440d48a033f777d1176efcf6842.tar.gz |
Duh. $type is a variable.
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 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) |