Thread:RRabbit42/@comment-27024486-20180805141451/@comment-961279-20180805173901

I took a quick look at it. Embedded IF statements trip me up, too, and some of them can break because of small details. I think one of them was I had part of the code on the next line, which introduced a Carriage Return into the processing. Once I connected the pieces together on the same line, it started working.

The first thing I would do is to move the comments down into the area defined by the NOINCLUDE tags. Write out in a little more clearer language what each step is supposed to do. That will assist with troubleshooting.

Also, I understand that it's supposed to check if more than one category exists, but I'm not sure what it would be used for. Could you give me an example of why it would be used?