Skip to content

Extra Conditionals being omitted #21

@bonzidrine

Description

@bonzidrine

When I add conditionals that should not validate (in other words, return false) the e-mail still gets send.

I check the entry type (Craft core data) and a custom field (entryLocale).

{% if entry.typeId != 6 %}false{% endif %}  
{% if entry.entryLocale != "nl" %}false{% endif %}

Whenever the entryLocale is, i.e. "fr" the parcel still sends an e-mail.
Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions