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.
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