Hmm I haven't considered parameterizing the query yet; and I will in our dev version; however, I still have a hard time swallowing that there any value I can pass to int() which will cause it to return undef.
I guess I'll have to bump up the error checking level to try and track this down. I was hoping it was something simple since this error only decides to grace me with it's presence every couple weeks or so, yet operates fine the other 99% of the time all day.
Tres weird.