Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ildar-aim opened this issue May 14, 2015 · 0 comments
Open

Comments

@ildar-aim
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant