-
-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Description
Version: Appears to be related to the many commits ~ September/3, I have not yet located the exact commit. Happy to investigate further if it would be helpful.
Bug Description
Boolean true appears to be evaluated to empty string, prior to ~ September 3 it would be evaluated to 1. Unsure if this is expected behaviour, but this change has introduced subtle bugs in existing templates.
Steps To Reproduce
{do $value = true}
<input value="{$value}">
<input value="{(string)$value}">
Output:
<input name="name" value="">
<input name="name" value="1">
Expected Behaviour
Prior to ~ 3/Sep/2025, this would output:
<input name="name" value="1">
<input name="name" value="1">
Possible Solution
Metadata
Metadata
Assignees
Labels
No labels