Something very weird is happening. I moved a few categories around and added a couple of subcategories and the 'Images' subcat that I referred to in the last message has now miraculously disappeared from here: http://gallery.omnibilia.com/index.php?c=1
However, it is still a subcategory, as you see from the gallery home and here: http://gallery.omnibilia.com/browseimages.php?c=2
You'll also notice that 'Audio/Music' and 'Video' are two subcategories I have added and they ARE still showing up where they are not supposed to. Why have they not become invisible like 'Images' I wonder.
From this I would at least deduce that your code is supposed to make these invisible when the 'Depth of Categories' is set to '1', as I have it. I would suggest that there is a glitch somewhere, perhaps a bug to be addressed.
I know you're busy, but I wondered if you have had a chance to consider this issue. I just need everything to work as it is (subcats showing on gallery home and in the child categories), but stop the subcats from displaying here (as 'Images' somehow already has): http://gallery.omnibilia.com/index.php?c=1