summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-08-08 17:10:00 -0700
committerBharat Mediratta <bharat@menalto.com>2010-08-08 17:10:00 -0700
commite85b345edaded7d4a68ae758138bcff9d0ceaefb (patch)
treef79fb3efdee0086b1b8ee58444d8f67ecc250d46
parentbd541342b9b56db00b8d24db1da43b9693e9849a (diff)
Visually separate the G2 comment's subject and body when we blend them
into the G3 comment body. Fixes ticket #1269.
-rw-r--r--modules/g2_import/helpers/g2_import.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/g2_import/helpers/g2_import.php b/modules/g2_import/helpers/g2_import.php
index 8db10dc1..306a0c50 100644
--- a/modules/g2_import/helpers/g2_import.php
+++ b/modules/g2_import/helpers/g2_import.php
@@ -838,11 +838,7 @@ class g2_import_Core {
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