fix bug #58 (torrent's category in search)

the diff is on line 95 i add 
 AND b.id = t.categoryID
i try to use git and github, i hope i use the good way ...