phpbb category names can be longer than 50 chars and are rejected during import
This commit is contained in:
parent
b36273e4ac
commit
b2826e9189
|
@ -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
|
||||
")
|
||||
|
|
Loading…
Reference in New Issue