make sure Geonames API queries use correct arg separator

This commit is contained in:
Evan Prodromou 2009-12-23 12:16:22 -08:00
parent 15b9f61842
commit c0f444f564
1 changed files with 1 additions and 1 deletions

View 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;
}