codeforhuntsville / Frontier

A civic app for finding whats near me
http://codeforhuntsville.com/
MIT License
9 stars 7 forks source link

Guard against a non-array restaurants result #19

Closed chadxz closed 9 years ago

chadxz commented 9 years ago

I have no idea how this would happen, since the backend seems to return an array result on success, even if there are no restaurants available, or the results property in the google places response does not exist. Anyway, this should address that problem. I'd be interested in seeing what server response triggers this code.

Closes #18