>That would depend on whether it's non-existence represented an error condition and, AFAICS, you have not determined whether that is true or not. If you were expecting it to be defined and it was not then you're just ducking the issue. Anyway, I don't have to use your code so it doesn't matter :-}
>
>This fix eliminated problems for me.
Yes, indeed it was nonexistence of this variable as I've seen where the error occurred. The only perplexing part is that I would expect this should have been a problem for other developers (as clearly it was a bit sloppy code) but none of them got the same error.
If it's not broken, fix it until it is.
My Blog