Open311: allow for single entry in service list (not returned as an array) #359

Closed
davewhiteland opened this Issue Dec 1, 2012 · 0 comments

Projects

None yet

2 participants

@davewhiteland
mySociety member

Problem seen as

Not an ARRAY reference at /fixmystreet/perllib/Open311/PopulateServiceList.pm line 74

when the returned service list contains only one element.

Maybe use XML::Simple's ForceArray or else just test for this case in process_services?

@dracos dracos closed this in ea45131 Mar 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment