Fixed Closed prefix not being applied correctly to suggestion threads

Affected version
2.2

Brogan

XenForo moderator
Staff member
Setting a prefix to close voting for suggestion threads prevents voting but doesn't display the phrase:
HTML:
<xf:elseif is="$suggestionInfo.closed" />
    {{ phrase('suggestion_closed_votes_not_accepted') }}

Dumping $suggestionInfo for a thread with an implemented prefix returns this:

1609892594719.png

Dumping $suggestionInfo for a thread with a closed prefix returns this:

1609892666948.png
 

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

Change log:
Correctly display a message when a suggestion has been closed (similar to when a suggestion has been implemented).
There may be a delay before changes are rolled out to the XenForo Community.
 
Top