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

$smarty->display('0'); does not work. but "1" w

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
Sumer_Kolcak
Smarty n00b


Joined: 22 Jan 2012
Posts: 1

PostPosted: Sun Jan 22, 2012 6:25 am    Post subject: $smarty->display('0'); does not work. but "1" w Reply with quote

I name my templates 1 to 20+ including 0
i noticed the template "0" causes a problem with smarty.

this problem used to exist 5 years ago i recall, still exists.

while this code will display the template named "1"

Code:
$smarty->display('1');


this code will not display the template named "0"

Code:
$smarty->display('0');


for the time being, i am naming my template "00"

which also works.

thanks.

- Sumer Kolcak
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


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