From ef03e6a517737440d48a033f777d1176efcf6842 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 12 Dec 2006 17:37:29 +0000 Subject: Duh. $type is a variable. --- usr/local/captiveportal/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/captiveportal/index.php') 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) -- cgit v1.1