Fixed vB4 Import: Patch for correctly importing the "content_title" of infractions

Steffen

Well-known member
Affected version
2.0.2
Diff:
diff --git a/src/XF/Import/Importer/vBulletin.php b/src/XF/Import/Importer/vBulletin.php
index c91c3a9c7..57c99cd24 100644
--- a/src/XF/Import/Importer/vBulletin.php
+++ b/src/XF/Import/Importer/vBulletin.php
@@ -4541,7 +4537,7 @@ class vBulletin extends AbstractForumImporter
             LEFT JOIN post AS
                 post ON (post.postid = infraction.postid)
             LEFT JOIN thread AS
-                thread ON (thread.threadid = post.postid)
+                thread ON (thread.threadid = post.threadid)
             LEFT JOIN phrase AS
                 phrase ON (phrase.varname = CONCAT('infractionlevel', infraction.infractionlevelid, '_title')
                     AND phrase.languageid = 0)
 
Back
Top Bottom