diff options
author | Brion Vibber <brion@pobox.com> | 2010-04-09 08:40:15 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-04-09 08:40:15 -0700 |
commit | 1f8451f4aa9128e55d4b274faf7f0cd19d56e2b8 (patch) | |
tree | 3b3d27baa6a9fce818e858073a37ba7f88524718 /plugins/GeonamesPlugin.php | |
parent | 857db1fabe8dc1d4420abad74d574c536b120ad5 (diff) | |
parent | 2be04e2a631ea9f373386bed792e7233418e2ee2 (diff) |
Merge branch 'testing' into 0.9.x
Diffstat (limited to 'plugins/GeonamesPlugin.php')
-rw-r--r-- | plugins/GeonamesPlugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/GeonamesPlugin.php b/plugins/GeonamesPlugin.php index 718af9e0b..bc5899943 100644 --- a/plugins/GeonamesPlugin.php +++ b/plugins/GeonamesPlugin.php @@ -458,7 +458,7 @@ class GeonamesPlugin extends Plugin } if (!$result->isOk()) { - throw new Exception("HTTP error code " . $result->code); + throw new Exception("HTTP error code " . $result->getStatus()); } $body = $result->getBody(); |