Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 2 matches
Smarty Forum Index
Author Message
  Topic: Issue with echoing '0'
SmileCold

Replies: 3
Views: 11296

PostForum: Bugs   Posted: Fri Jan 22, 2016 8:15 am   Subject: Issue with echoing '0'
Huh, sorry Smile
It was Smarty 3.1.28, with a simple to reproduce code:
{if TRUE}0{if}
But seems fixed in 3.1.29, so bug is closed.
  Topic: Issue with echoing '0'
SmileCold

Replies: 3
Views: 11296

PostForum: Bugs   Posted: Thu Jan 21, 2016 9:36 am   Subject: Issue with echoing '0'
Hi,

Today I found a very strange issue with echoing '0' (zero) in template using {if} statement.
For example: {if 0 LT 1}0{if}
it simply renders '' (empty output) and it should be fixed.
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP