Преглед изворни кода

Fix typo in mobileconfig redirect

goodygh пре 2 година
родитељ
комит
fd203abd47
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");