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

use fetch 2 times on the same template

 
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
Violator
Smarty n00b


Joined: 13 Oct 2004
Posts: 1

PostPosted: Wed Oct 13, 2004 11:57 am    Post subject: use fetch 2 times on the same template Reply with quote

Hello!

I use smarty->fetch on the same template 2 times, only with different Data. The second time, the result is empty.

I pinned it down to the require_once in the fetch method (the ones between ob_start and ob_end).

I think it should be require instead of require_once.
Back to top
View user's profile Send private message
boots
Administrator


Joined: 16 Apr 2003
Posts: 5611
Location: Toronto, Canada

PostPosted: Wed Oct 13, 2004 2:11 pm    Post subject: Reply with quote

Hi.

Please, when posting a bug, please include relevant information such as version numbers and code to demonstrate the issue if not a full blown test-case. FWIW, I too re-use templates, but without issue.
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