summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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