From a3e977542f46fb84dfcdad229d02d204751884cc Mon Sep 17 00:00:00 2001 From: bcyrill Date: Tue, 15 Jan 2013 02:06:27 +0100 Subject: Remove redundant code fragment --- usr/local/captiveportal/index.php | 1 - 1 file changed, 1 deletion(-) (limited to 'usr') diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php index 3b685e9..2782cdf 100755 --- a/usr/local/captiveportal/index.php +++ b/usr/local/captiveportal/index.php @@ -50,7 +50,6 @@ $cpcfg = $config['captiveportal'][$cpzone]; $orig_host = $_ENV['HTTP_HOST']; /* NOTE: IE 8/9 is buggy and that is why this is needed */ $orig_request = trim($_REQUEST['redirurl'], " /"); -$orig_request = empty($orig_request) ? '' : $orig_request; $clientip = $_SERVER['REMOTE_ADDR']; if (!$clientip) { -- cgit v1.1