Permalink
Browse files

Use actual name from database query for test.

  • Loading branch information...
1 parent 5448aa9 commit 97cab3718ab9dccb814d834f886850577d112ce1 @dracos dracos committed Jun 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 postcode.php
View
@@ -125,7 +125,7 @@
$constituencyuri = "http://data.ordnancesurvey.co.uk/doc/7". str_pad($constituencycode, 15, "0", STR_PAD_LEFT);
}
-if (strlen($row['parish'] == 0)) {
+if (strlen($row['parishgss'] == 0)) {
if (!$mapit) {
$mapit = json_decode(file_get_contents("http://mapit.mysociety.org/postcode/". urlencode($updatepostcode) .".json"));

0 comments on commit 97cab37

Please sign in to comment.