- Issue created by @mitchmccoy
- Assigned to JordiK
- πΊπΈUnited States TR Cascadia
That piece of code was changed in #3059245: Rewrite main module functions to work with raw values β by @JordiK, so I'm assigning the issue to him to look at because I don't know exactly what the intent was in that change.
I don't think your workaround is the correct way to fix it though, because if the entity_id array element is not being accessed then we don't need to check to see if it's set anymore. But why was it being used in the first place? @JordiK should know ...