summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-12-23 12:16:22 -0800
committerEvan Prodromou <evan@status.net>2009-12-23 12:16:22 -0800
commitc0f444f564be0c14a6cd23c4241c6f9cd4331518 (patch)
treeea4e84c3b3b4625ba45f9c689ef8a0e3da38004f
parent15b9f61842e899e4463eb6f058228d9ffd631198 (diff)
make sure Geonames API queries use correct arg separator
-rw-r--r--plugins/GeonamesPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/GeonamesPlugin.php b/plugins/GeonamesPlugin.php
index 0d12c1cf7..df99c7849 100644
--- a/plugins/GeonamesPlugin.php
+++ b/plugins/GeonamesPlugin.php
@@ -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;
}