Index: tree.php.t
===================================================================
RCS file: /cvsroot/phpgroupware/fudforum/setup/base/src/tree.php.t,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -u -r1.1.1.1 -r1.1.1.1.2.1
--- tree.php.t	1 Nov 2003 22:57:17 -0000	1.1.1.1
+++ tree.php.t	24 Aug 2005 13:25:37 -0000	1.1.1.1.2.1
@@ -131,7 +131,7 @@
 		LEFT JOIN {SQL_TABLE_PREFIX}poll p ON m.poll_id=p.id
 		LEFT JOIN {SQL_TABLE_PREFIX}poll_opt_track pot ON pot.poll_id=p.id AND pot.user_id='._uid.'
 	WHERE
-		m.id='.$mid.' AND m.apr=1');
+		 m.id='.$mid.' AND m.apr=1 AND m.thread_id='.$th);
 
 	if (!isset($_GET['prevloaded'])) {
 		th_inc_view_count($th);

