Bläddra i källkod

Another performance change

Joanhey 6 år sedan
förälder
incheckning
a71e9bc19d
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      Protocols/Http.php

+ 1 - 1
Protocols/Http.php

@@ -188,7 +188,7 @@ class Http
         }
 
         // Parse other HTTP action parameters
-        if ($_SERVER['REQUEST_METHOD'] != 'GET' && $_SERVER['REQUEST_METHOD'] != "POST") {
+        if ($_SERVER['REQUEST_METHOD'] !== 'GET' && $_SERVER['REQUEST_METHOD'] !== "POST") {
             $data = array();
             if ($_SERVER['CONTENT_TYPE'] === "application/x-www-form-urlencoded") {
                 \parse_str($http_body, $data);