Fixed Closed prefix not being applied correctly to suggestion threads

Paul B

XenForo moderator
Staff member
Affected version
2.2
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
 
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 Bottom