]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
make sure Geonames API queries use correct arg separator
authorEvan Prodromou <evan@status.net>
Wed, 23 Dec 2009 20:16:22 +0000 (12:16 -0800)
committerEvan Prodromou <evan@status.net>
Wed, 23 Dec 2009 20:16:22 +0000 (12:16 -0800)
plugins/GeonamesPlugin.php

index 0d12c1cf7057cabac36d3071e517c67a37137570..df99c7849b4b68255e85cc57072d32a6065f6752 100644 (file)
@@ -448,7 +448,7 @@ class GeonamesPlugin extends Plugin
             $params['token'] = $this->token;
         }
 
-        $str = http_build_query($params);
+        $str = http_build_query($params, null, '&');
 
         return 'http://'.$this->host.'/'.$method.'?'.$str;
     }