aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart van Bragt <bartvb@users.sourceforge.net>2005-07-10 20:15:01 +0000
committerBart van Bragt <bartvb@users.sourceforge.net>2005-07-10 20:15:01 +0000
commit6f4dd17d019e21ac65cf03fa6cb4d5c614ce9e6d (patch)
tree6038613d9749e6b3edbe8f853337d5a89147983d
parent8b7be7c1ec2df1ace8d601a8b96ad6aa4e4775aa (diff)
downloadforums-6f4dd17d019e21ac65cf03fa6cb4d5c614ce9e6d.tar
forums-6f4dd17d019e21ac65cf03fa6cb4d5c614ce9e6d.tar.gz
forums-6f4dd17d019e21ac65cf03fa6cb4d5c614ce9e6d.tar.bz2
forums-6f4dd17d019e21ac65cf03fa6cb4d5c614ce9e6d.tar.xz
forums-6f4dd17d019e21ac65cf03fa6cb4d5c614ce9e6d.zip
the poll tables use the topic_id, not the post_id
git-svn-id: file:///svn/phpbb/trunk@5184 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/adm/admin_forums.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/adm/admin_forums.php b/phpBB/adm/admin_forums.php
index 0a6180499a..d83c9dfb4b 100644
--- a/phpBB/adm/admin_forums.php
+++ b/phpBB/adm/admin_forums.php
@@ -1445,7 +1445,7 @@ function delete_forum_content($forum_id)
REPORTS_TABLE => 're.post_id',
TOPICS_WATCH_TABLE => 'tw.topic_id',
TOPICS_TRACK_TABLE => 'tt.topic_id',
- POLL_OPTIONS_TABLE => 'po.post_id',
+ POLL_OPTIONS_TABLE => 'po.topic_id',
POLL_VOTES_TABLE => 'pv.post_id'
);