phpbb category names can be longer than 50 chars and are rejected during import

This commit is contained in:
Marty Kube 2014-08-03 20:44:02 -04:00
parent b36273e4ac
commit b2826e9189
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class ImportScripts::PhpBB3 < ImportScripts::Base
def import_categories
results = mysql_query("
SELECT forum_id id, parent_id, forum_name name, forum_desc description
SELECT forum_id id, parent_id, left(forum_name, 50) name, forum_desc description
FROM phpbb_forums
ORDER BY parent_id ASC, forum_id ASC
")