From 0f94b49b338b6480bc9332cbb0d5f6091b1c3c2c Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 26 Mar 2012 10:05:15 -0700 Subject: [PATCH] Minor, don't collapse comment content if there are inlines. Auditors: vrana --- .../diffusion/view/comment/DiffusionCommentView.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/diffusion/view/comment/DiffusionCommentView.php b/src/applications/diffusion/view/comment/DiffusionCommentView.php index 3a4dee8127..29a1ff4c09 100644 --- a/src/applications/diffusion/view/comment/DiffusionCommentView.php +++ b/src/applications/diffusion/view/comment/DiffusionCommentView.php @@ -127,7 +127,7 @@ final class DiffusionCommentView extends AphrontView { $comment = $this->comment; $engine = $this->getEngine(); - if (!strlen($comment->getContent())) { + if (!strlen($comment->getContent()) && empty($this->inlineComments)) { return null; } else { return