There must be &&
in in place of ||
in in the if-condition on line 290.
Code Block |
---|
language | php |
---|
title | core/units/helpers/curl_helper.php |
---|
firstline | 288 |
---|
linenumbers | true |
---|
|
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
Jira Legacy |
---|
server | System Jira |
---|
serverId | 513b375f-8291-3313-9d9f-704c39b1f915 |
---|
key | INP-1371 |
---|
|