Fixed Invalid widget display condition is silently ignored

Kirby

Well-known member
Affected version
2.2.10
Steps to reproduce
Create a widget with display condition in_array($xf.reply.containerKey

Expected Result
And eror is being displayed when trying to save the widget as the condition cannot be parsed

Actual Result
The widget is saved without an error message but the condition does get ignored, eg. the widget is always displayed
 

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.12).

Change log:
Add validation to widget display conditions
There may be a delay before changes are rolled out to the XenForo Community.
 
Top