Fixed XF\Entity\Poll missing content type

Jake B.

Well-known member
Affected version
2.X
The Poll entity is missing a content type definition, which is making my life a bit difficult. I'm currently having to extend the poll structure to add $structure->contentType = 'poll'; which is kind of messy and seems like it'd be really easy to break if anyone else did something similar using a different contentType value ;)
 
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.3).

Change log:
Add missing 'poll' content type.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Top Bottom