Permalink
Browse files

Version 0.7

  • Loading branch information...
1 parent 56d8111 commit e3faefd157ac337ace488397e1cbb585a856ad9f Mashape committed Apr 11, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 mashape/methods/discover/helpers/discoverMethods.php
@@ -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);
}

0 comments on commit e3faefd

Please sign in to comment.