summaryrefslogtreecommitdiffstats
path: root/usr/local/captiveportal
diff options
context:
space:
mode:
authorbcyrill <cyrill@bannwart.info>2013-01-15 02:06:27 +0100
committerbcyrill <cyrill@bannwart.info>2013-01-15 02:06:27 +0100
commita3e977542f46fb84dfcdad229d02d204751884cc (patch)
tree3804f5eb42024f324a78ce825d7ce531528f4190 /usr/local/captiveportal
parentc15a87f7a16ced0c73cc709480cbcab651c78603 (diff)
downloadpfsense-a3e977542f46fb84dfcdad229d02d204751884cc.zip
pfsense-a3e977542f46fb84dfcdad229d02d204751884cc.tar.gz
Remove redundant code fragment
Diffstat (limited to 'usr/local/captiveportal')
-rwxr-xr-xusr/local/captiveportal/index.php1
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) {
OpenPOWER on IntegriCloud