diff options
author | Ermal <eri@pfsense.org> | 2010-05-28 18:35:06 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-05-28 18:35:06 +0000 |
commit | 4fc68c5aa4f72e930d453266c7bfb166af057b18 (patch) | |
tree | 72e16e71aa14247bc6225a11898cfcb73e91a70d /usr/local/captiveportal | |
parent | 2c9a4ed1b800dfa5ff285d65d05eabef889ec0dc (diff) | |
download | pfsense-4fc68c5aa4f72e930d453266c7bfb166af057b18.zip pfsense-4fc68c5aa4f72e930d453266c7bfb166af057b18.tar.gz |
Do comparions as meant not assignment. Pointy-hat: Myself
Diffstat (limited to 'usr/local/captiveportal')
-rwxr-xr-x | usr/local/captiveportal/index.php | 2 |
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") |