Skip to content

TemplateProcessor.php print empty '' string if value is 0Β #2572

@technilogics

Description

@technilogics

return $subject ? Text::toUTF8($subject) : '';

return $subject ? Text::toUTF8($subject) : '';

Cause issue if subject is 0, that actually i want to print,
but unfortunately when $subject=0 as string or int or char it results in false.

Please fix this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions