Re: [htmltmpl] Bug in die_on_bad_params handling
Brought to you by:
samtregar
From: Mark F. <mar...@ea...> - 2005-07-07 17:28:56
|
From: "Sam Tregar" <sa...@tr...> > That's a run-time error that happens during output() and the relevent file and > line numbers are currently only available during parse(). Sam, I'm curious: Why wouldn't my suggestion work? The croaked message Matija referred to is in the param method. I can't find it anywhere else. How does it reach the output method if it is croaking on this line as the param is set? After thinking about it: it seems like it would be easier for Matija to provide all the vars in a tmpl_loop, passing empty strings (instead of turning off "die_on_bad_params" and so H::T will fill ignore extra columns). Or, maintain seperate loop names. Mark |