Once again, my faith in Murphy is confirmed. I figured it out soon after I posted the question. $this_category was being changed in a way that didn't show up in the web browser, ie
03 . Sorry for the wasted node.
in reply to Re: When is 03 not equal to 03?
in thread When is 03 not equal to 03?
On second thought, let this be a lesson to others: When debugging with the web browser, always check the HTML source code.
Use of this advanced computing technology does not imply an endorsement
of Western industrial civilization.