/
kCurlHelper::SetRequestMethod always throws exception [5.1.2]

kCurlHelper::SetRequestMethod always throws exception [5.1.2]

There must be && in place of || in the if-condition on line 290.

core/units/helpers/curl_helper.php
public function SetRequestMethod($request_method)
{
	if ($request_method != self::REQUEST_METHOD_GET || $request_method != self::REQUEST_METHOD_POST) {
		throw new Exception('Method "' . __METHOD__ . '": Invalid $request_method parameter value');
		return ;
	}
	$this->requestMethod = $request_method;
}

curl_helper_set_request_method_1371.patch

Related Tasks

INP-1371 - Getting issue details... STATUS