aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/upgrade_20.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/upgrade_20.php')
-rw-r--r--phpBB/upgrade_20.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/upgrade_20.php b/phpBB/upgrade_20.php
index 2081b36a07..094cc5dedd 100644
--- a/phpBB/upgrade_20.php
+++ b/phpBB/upgrade_20.php
@@ -417,7 +417,8 @@ Backups completed ok.<P>
$forum_id = $row['forum_id'];
$topic_status = $row['topic_status'];
$topic_notify = $row['topic_notify'];
-
+ $forum_id = $row['forum_id'];
+
$sql = "insert topics (topic_id, topic_title, topic_poster, topic_time, topic_views, forum_id, topic_status, topic_notify)
values ($topic_id, '$topic_title', $topic_poster, $topic_time, $topic_views, $forum_id, $topic_status, $topic_notify)";
mysql_query($sql, $db);