Skip to content

Commit

Permalink
Version 0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Mashape committed Apr 11, 2011
1 parent 56d8111 commit e3faefd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mashape/methods/discover/helpers/discoverMethods.php
Expand Up @@ -49,7 +49,9 @@ function discoverMethods($instance, $configuration, &$objectsFound, &$objectsToC
if ($pos !== false) {
$result .= $queryString;
} else {
$result .= "?" . $queryString;
if (!empty($queryString)) {
$result .= "?" . $queryString;
}
}
$result = str_replace("?&", "?", $result);
}
Expand Down

0 comments on commit e3faefd

Please sign in to comment.