Confirmed Preview fails if the message is falsy

Xon

Well-known member
Licensed customer
Affected version
2.3.13
If you enter 0 as a post message, and click preview. It fails instead of rendering 0.

This is because the bb_code_preview template has the check <xf:if is="$message"> which skips falsy messages instead of empty ones.
 
Back
Top Bottom