Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Code Block
languagephp
titlecore/units/helpers/curl_helper.php
firstline288
linenumberstrue
		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