kierdavis / postcodewars

Our project for YRS2012
3 stars 2 forks source link

Fix this error #5

Open kierdavis opened 12 years ago

kierdavis commented 12 years ago

Log line:

Undefined index: countyelectoral in /home/git/repo/lib/util.php on line 24

Probably caused by an invalid postcode returning an invalid result from the lat/long lookup, and so the countyelectoral key is not present

jacobwalkr commented 12 years ago

The odd thing about this one is that "administrative" IS defined...

jacobwalkr commented 12 years ago

I'm not sure what to do about this one - throw an error? I don't know where it would go... perhaps this isn't one for me.