|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
eposjk Smarty Rookie
Joined: 07 Oct 2009 Posts: 13
|
Posted: Fri Oct 09, 2009 7:35 pm Post subject: [Bug] using Smarty_Data forces caching |
|
|
Hi!
I discovered a strange behaviour:
When I call $smarty->fetch('my.tpl', $data) multiple times with a different data object, it always returns the results of the first call.
$smarty->caching is false.
When I use $smarty instead of $data, no caching is performed. |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Fri Oct 09, 2009 8:53 pm Post subject: |
|
|
This is à bug. It is not related to caching, but reuse of the template Object when the same template gets called several times. Can't fix it before sunday As i am currently travelling. |
|
Back to top |
|
eposjk Smarty Rookie
Joined: 07 Oct 2009 Posts: 13
|
Posted: Fri Oct 09, 2009 8:55 pm Post subject: |
|
|
no problem & thanks - enjoy your journey! |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Sun Oct 11, 2009 8:25 pm Post subject: |
|
|
This should now be fixed with the latest update SVN. |
|
Back to top |
|
|
|
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
|