summaryrefslogtreecommitdiffstats
path: root/usr/local/captiveportal
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-05-28 18:35:06 +0000
committerErmal <eri@pfsense.org>2010-05-28 18:35:06 +0000
commit4fc68c5aa4f72e930d453266c7bfb166af057b18 (patch)
tree72e16e71aa14247bc6225a11898cfcb73e91a70d /usr/local/captiveportal
parent2c9a4ed1b800dfa5ff285d65d05eabef889ec0dc (diff)
downloadpfsense-4fc68c5aa4f72e930d453266c7bfb166af057b18.zip
pfsense-4fc68c5aa4f72e930d453266c7bfb166af057b18.tar.gz
Do comparions as meant not assignment. Pointy-hat: Myself
Diffstat (limited to 'usr/local/captiveportal')
-rwxr-xr-xusr/local/captiveportal/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php
index 03bd01a..b019b00 100755
--- a/usr/local/captiveportal/index.php
+++ b/usr/local/captiveportal/index.php
@@ -198,7 +198,7 @@ function portal_reply_page($redirurl, $type = null, $message = null, $clientmac
global $g, $config;
/* Get captive portal layout */
- if ($type = "redir") {
+ if ($type == "redir") {
header("Location: {$redirurl}");
return;
} else if ($type == "login")
OpenPOWER on IntegriCloud