diff --git a/HttpServer/Client/HttpParse.php b/HttpServer/Client/HttpParse.php index 2aa42324..6ad68d7e 100644 --- a/HttpServer/Client/HttpParse.php +++ b/HttpServer/Client/HttpParse.php @@ -67,7 +67,10 @@ class HttpParse */ private static function ifElse($t, $qt) { - if (is_string($qt) || is_numeric($qt)) { + if (is_numeric($qt)) { + return $t . '=' . $qt; + } + if (is_string($qt)) { $string = $t . '=' . urlencode($qt); } else { $string = static::encode($t, $qt);