Roger Burton West wrote:
> On Tue, Dec 05, 2006 at 09:20:40AM -0500, Robert Hicks wrote:
> 
>> I have 3 separate loops using each of those. I am converting something
>>from TT->HT and this works fine in TT. Is there something about how HT
>> loops that is biting me? I am sure "I" am forgetting something.
> 
> In my experience, multiple loops of the same name will throw up this
> problem - only the first loop gets checked. The simplest solution is to
> set die_on_bad_params to zero.

He's right. H::T isn't very thorough when checking for the existence of
variables in loops if the same loop is used more than once. Setting
die_on_bad_params to false will let you get around this problem, but that causes
problems if you wanted strict templates in the first place.

Fixing this has been one of my TODOs for a while... Stupid $work and $life :)

-- 
Michael Peters
Developer
Plus Three, LP


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to