Skip to content
Browse files

check

  • Loading branch information...
1 parent f036231 commit 82f09df7c9aecdae6d2bdf3d4c782b4d79425acd Mashaper committed Apr 28, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 mashape/methods/discover/helpers/discoverMethods.php
View
4 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 82f09df

Please sign in to comment.
Something went wrong with that request. Please try again.