diff options
author | bcyrill <cyrill@bannwart.info> | 2013-01-15 02:06:27 +0100 |
---|---|---|
committer | bcyrill <cyrill@bannwart.info> | 2013-01-15 02:06:27 +0100 |
commit | a3e977542f46fb84dfcdad229d02d204751884cc (patch) | |
tree | 3804f5eb42024f324a78ce825d7ce531528f4190 /usr | |
parent | c15a87f7a16ced0c73cc709480cbcab651c78603 (diff) | |
download | pfsense-a3e977542f46fb84dfcdad229d02d204751884cc.zip pfsense-a3e977542f46fb84dfcdad229d02d204751884cc.tar.gz |
Remove redundant code fragment
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/captiveportal/index.php | 1 |
1 files changed, 0 insertions, 1 deletions
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) { |