Index: units/helpers/curl_helper.php =================================================================== --- units/helpers/curl_helper.php (revision 16046) +++ units/helpers/curl_helper.php (working copy) @@ -302,7 +302,7 @@ */ public function SetRequestMethod($request_method) { - if ($request_method != self::REQUEST_METHOD_GET || $request_method != self::REQUEST_METHOD_POST) { + if ($request_method != self::REQUEST_METHOD_GET && $request_method != self::REQUEST_METHOD_POST) { throw new InvalidArgumentException('Method "' . __METHOD__ . '": Invalid $request_method parameter value'); return ;