Skip to content

{switch} and {var} tag inside {case} #237

Description

@her-ur

Version: 2.9.0

{switch 1}
    {case 1}{var $foo = ''}
{/switch}

This code throws exception:

Latte\CompileException
Arguments are not allowed in {var} in default.latte:2

Problem is only within {switch} tag.

Thanks ;-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions