From bc48e8208b89c2fef0986f24cf49078cc3f80e2b Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 16 Jul 2007 20:27:02 +0000 Subject: [PATCH] Remove bogus warning. --- usr/local/captiveportal/index.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php index c2ff37fe94..71a2d53c71 100755 --- a/usr/local/captiveportal/index.php +++ b/usr/local/captiveportal/index.php @@ -336,9 +336,6 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut $clientip, $clientmac); - if(!$type) - log_error("WARNING: \$type has not been set in captiveportal/index.php"); - if ($acct_val == 1) captiveportal_logportalauth($username,$clientmac,$clientip,$type,"RADIUS ACCOUNTING FAILED"); }