Browse files

(Fix) warnings about unset querystring variable when launching a sess…

…ion with no parameters.
  • Loading branch information...
1 parent 2f9d061 commit dc8895012d7ee046ed37d0504e3365c8dd1559a9 @akalsey akalsey committed Jun 5, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 tropo-rest.class.php
View
1 tropo-rest.class.php
@@ -38,6 +38,7 @@ protected function getBaseURL() {
*/
public function createSession($token, Array $params = null) {
+ $querystring = '';
if(isset($params)) {
foreach ($params as $key=>$value) {
@ $querystring .= '&'. urlencode($key) . '=' . urlencode($value);

0 comments on commit dc88950

Please sign in to comment.