Skip to content

Commit

Permalink
Visually separate the G2 comment's subject and body when we blend them
Browse files Browse the repository at this point in the history
into the G3 comment body.  Fixes ticket #1269.
  • Loading branch information
bharat committed Aug 9, 2010
1 parent bd54134 commit e85b345
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions modules/g2_import/helpers/g2_import.php
Expand Up @@ -838,11 +838,7 @@ static function import_comment(&$queue) {
return;
}

$text = $g2_comment->getSubject();
if ($text) {
$text .= " ";
}
$text .= $g2_comment->getComment();
$text = join("\n", array($g2_comment->getSubject(), $g2_comment->getComment()));
$text = html_entity_decode($text);

// Just import the fields we know about. Do this outside of the comment API for now so that
Expand Down

0 comments on commit e85b345

Please sign in to comment.