Re: foo.defined test throws error 'foo is undefined'
*Sigh* I'm an idiot. I just noticed one of my coworkers who had worked on the script added DEBUG_UNDEF to the new Template line. I've never used that option myself, so I was used to just treating undefined stuff as false, but perfectly ok.