From ca92e43c9a66fdfd79b9d1fae43d4482f0e57ef0 Mon Sep 17 00:00:00 2001 From: Michael Calcinai Date: Tue, 30 Jun 2015 09:59:34 +1200 Subject: [PATCH] Update for typo #36 --- src/XeroPHP/Remote/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XeroPHP/Remote/Request.php b/src/XeroPHP/Remote/Request.php index f5b2de2f..754568f3 100644 --- a/src/XeroPHP/Remote/Request.php +++ b/src/XeroPHP/Remote/Request.php @@ -92,7 +92,7 @@ public function send() { curl_setopt($ch, CURLOPT_URL, $full_uri); - if($this->method === self::METHOD_POST || $this->method === self::METHOD_POST) + if($this->method === self::METHOD_POST || $this->method === self::METHOD_PUT) curl_setopt($ch, CURLOPT_POST, true); $response = curl_exec($ch);