From 0820841777588149bd3eee1b79ecfe60ff73a466 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 16 Jul 2007 20:26:43 +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"); }