Update of fudforum/setup/base/src
Modified Files:
Branch: Version-0_9_16-branch
tree.php.t lines: +3 -3
Log Message:
fix for CAN-2005-2600
====================================================
Index: fudforum/setup/base/src/tree.php.t
diff -u fudforum/setup/base/src/tree.php.t:1.1
fudforum/setup/base/src/tree.php.t:1.1.1.1.2.1
--- fudforum/setup/base/src/tree.php.t:1.1 Sat Nov 1 22:57:17 2003
+++ fudforum/setup/base/src/tree.php.t Wed Aug 24 13:25:37 2005
@@ -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);
@@ -262,4 +262,4 @@
/*{POST_PAGE_PHP_CODE}*/
?>
-{TEMPLATE: TREE_PAGE}
\ No newline at end of file
+{TEMPLATE: TREE_PAGE}
_______________________________________________
Phpgroupware-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-cvs