Yeap, bug fixed!

The bug in list.cgi are fix, problem occurs when there is only 1 item in the XML, as the way how I develope the code loop thur the content of the XML array.

When there is only 1 item, XML::Simple do not treat the content as an array, so $data->{thread}-><$h>->{tid} do not work.

It was fix by setting the bits in XMLin to
data = XMLin($where, ForceArray => 1);

Which no matter there is only 1 item in the XML, it was returned as an array.

I think I should re-visiting all code to see are there need of changes.. (as far as I remember, no…)