@judebert - thanks
Problem with Bar Sinister THEME and ToDo/Project-List
I just sent the working version to CVS. I tried it out on my site. First I duplicated your problem. Then I fixed it and verified the solution.
This was a little trickier than expected. The thing is, the OPENING div was only output if the category existed in the database table. But we started with category 0. That's not usually a valid category, but it *is* a valid parent. So we wouldn't output the opening div, but we would output the closing div.
I just made a variable to keep track of whether the opening div was printed, then checked before printing the closing div.
Let me know if this fixes it for you, chrisT33.
This was a little trickier than expected. The thing is, the OPENING div was only output if the category existed in the database table. But we started with category 0. That's not usually a valid category, but it *is* a valid parent. So we wouldn't output the opening div, but we would output the closing div.
I just made a variable to keep track of whether the opening div was printed, then checked before printing the closing div.
Let me know if this fixes it for you, chrisT33.
