DoSomething / voting-app

☑ Voting app for DoSomething.org campaigns.
MIT License
6 stars 4 forks source link

Fix issue with picking the proper opt-in path or list ID #528

Closed DFurnes closed 8 years ago

DFurnes commented 8 years ago

Changes

This PR fixes an issue with picking the proper opt-in path or list ID. The array_get method, while like almost exactly what we needed, returns the whole array if the given key is null (which is like not at all what we'd ever want). I had also forgotten to filter out "falsy" values from the config array.


For review: @angaither @katiecrane

katiecrane commented 8 years ago

🚣