Explorar o código

Another performance change

Joanhey %!s(int64=6) %!d(string=hai) anos
pai
achega
a71e9bc19d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);