Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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;
}

Related Tasks

  • No labels