diff options
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 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) |