Skip to content

Commit

Permalink
Added $version to the _getURL function
Browse files Browse the repository at this point in the history
  • Loading branch information
mager committed Dec 14, 2010
1 parent edb3383 commit 55785a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/SimpleGeo.php
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ private function _sendRequest($endpoint, $args = array(), $method = 'GET')
{
try {
$result = $this->_oauth->sendRequest(
$this->_getURL($endpoint), $args, $method
$this->_getURL($endpoint, $version), $args, $method
);
} catch (HTTP_OAuth_Exception $e) {
throw new Services_SimpleGeo_Exception($e->getMessage(),
Expand Down

0 comments on commit 55785a1

Please sign in to comment.