Skip to content

Commit

Permalink
Stupid syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
fivetide committed Aug 21, 2013
1 parent 2581c41 commit 7736dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ElasticSearch/Transport/HTTP.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public function request($path, $method="GET", $payload=false) {
*/
public function delete($id=false, array $options = array()) {
if ($id)
return $this->call($this->buildUrl(array($this->type, $id), $options), "DELETE") );
return $this->call($this->buildUrl(array($this->type, $id), $options), "DELETE");
else
return $this->request(false, "DELETE");
}
Expand Down

0 comments on commit 7736dab

Please sign in to comment.