Skip to content

Fix for http://www.smarty.net/docs/en/language.modifier.default.tpl #1

@ildar-aim

Description

@ildar-aim

http://www.smarty.net/docs/en/language.modifier.default.tpl
-This is the default value to output if the variable is empty.
+This is the default value to output if the variable is unset or an empty string

+It does not work for 0 (0 as an integer)/FALSE values as
http://php.net/manual/en/function.empty.php

+Solution to overwrite
http://www.smarty.net/forums/viewtopic.php?p=88776#88776

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions