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

compileAllTemplates always returns zero

 
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
Luminosity
Smarty Rookie


Joined: 06 Feb 2010
Posts: 5

PostPosted: Wed Mar 21, 2012 1:51 am    Post subject: compileAllTemplates always returns zero Reply with quote

Hi, I was just looking at the code and I noticed that you never increment $_count in the foreach loop inside compileAllTemplates() in smarty_internal_utility.php. This will result in this function always returning zero, while description says that it should return the number of templates compiled.
Back to top
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 5068
Location: Hamburg / Germany

PostPosted: Wed Mar 21, 2012 5:19 pm    Post subject: Reply with quote

The fix is now in the SVN trunk version and will later be included in 3.1.9
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