Hello tech support,
Is there a difference between using single quotes and double quotes in conditionals?
The first example shows all options, the second, with double quotes around {status}, shows the correct option.
Can someone verify this?
{if 'open'=='{status}'} OPEN {/if}
{if 'closed'=='{status}'} CLOSED {/if}
{if 'preview'=='{status}'} PREVIEW {/if}
{if 'open'=="{status}"} OPEN {/if}
{if 'closed'=="{status}"} CLOSED {/if}
{if 'preview'=="{status}"} PREVIEW {/if}