We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36173
    • 26 Posts
    Hi all,
    When I provide a template variable value of "0" the output modifier simply outputs a single "0" without the rest of the text.

    Example:
    [[*mytv:notempty=`mytv=[[*mytv]];`]]

    mytv = 0 result is just "0"
    mytv = [blank] result is no output
    mytv = "anyvalue" result is "mytv=anyvalue"

    If the variable is anything other than zero it works. But zero is not blank. The expected result by this example is:
    "mytv=0"


    Is there a fix or other solution?

    Cheers.