From 9d4d258a0b2dba97a663cacfd997e5f92567c312 Mon Sep 17 00:00:00 2001 From: epriestley Date: Sun, 10 Apr 2011 09:08:11 -0700 Subject: [PATCH] Fix up newline formatting in Differential emails a bit. --- .../differential/mail/comment/DifferentialCommentMail.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/applications/differential/mail/comment/DifferentialCommentMail.php b/src/applications/differential/mail/comment/DifferentialCommentMail.php index a6d324c8c1..6110d0ac8f 100644 --- a/src/applications/differential/mail/comment/DifferentialCommentMail.php +++ b/src/applications/differential/mail/comment/DifferentialCommentMail.php @@ -106,6 +106,8 @@ class DifferentialCommentMail extends DifferentialMail { } $body[] = $this->renderRevisionDetailLink(); + $body[] = null; + $revision = $this->getRevision(); if ($revision->getStatus() == DifferentialRevisionStatus::COMMITTED) { $phids = $revision->loadCommitPHIDs(); @@ -125,8 +127,6 @@ class DifferentialCommentMail extends DifferentialMail { $body[] = null; } - $body[] = null; - return implode("\n", $body); } }