Merge pull request #2618 from martykube/phpbb_import_category_name_too_long
phpbb category names can be longer than 50 chars and are rejected during...
This commit is contained in:
commit
72e099afaa
|
@ -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