ソースを参照

Merge pull request #5211 from goodygh/5175-fix-mobileconfig-redirect

[web] Fix typo in mobileconfig redirect
Patrick Schult 2 年 前
コミット
e38c27ed67
1 ファイル変更1 行追加1 行削除
  1. 1 1
      data/web/inc/triggers.inc.php

+ 1 - 1
data/web/inc/triggers.inc.php

@@ -63,7 +63,7 @@ if (isset($_POST["login_user"]) && isset($_POST["pass_user"])) {
         unset($_SESSION['index_query_string']);
         unset($_SESSION['index_query_string']);
         if (in_array('mobileconfig', $http_parameters)) {
         if (in_array('mobileconfig', $http_parameters)) {
             if (in_array('only_email', $http_parameters)) {
             if (in_array('only_email', $http_parameters)) {
-                header("Location: /mobileconfig.php?email_only");
+                header("Location: /mobileconfig.php?only_email");
                 die();
                 die();
             }
             }
             header("Location: /mobileconfig.php");
             header("Location: /mobileconfig.php");