Skip to content

Commit

Permalink
Update for typo #36
Browse files Browse the repository at this point in the history
  • Loading branch information
calcinai committed Jun 29, 2015
1 parent 1b996c8 commit ca92e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XeroPHP/Remote/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ca92e43

Please sign in to comment.