FIX: handle missing post body in json in Ning importer

This commit is contained in:
Neil Lalonde 2015-03-12 18:46:22 -04:00
parent 865d6a2d0d
commit 1e339ad527
1 changed files with 1 additions and 0 deletions

View File

@ -270,6 +270,7 @@ class ImportScripts::Ning < ImportScripts::Base
end
def process_ning_post_body(arg)
return "" if arg.nil?
raw = arg.gsub("</p>\n", "</p>")
# youtube iframe