Minor, don't collapse comment content if there are inlines.
Auditors: vrana
This commit is contained in:
@@ -127,7 +127,7 @@ final class DiffusionCommentView extends AphrontView {
|
|||||||
$comment = $this->comment;
|
$comment = $this->comment;
|
||||||
$engine = $this->getEngine();
|
$engine = $this->getEngine();
|
||||||
|
|
||||||
if (!strlen($comment->getContent())) {
|
if (!strlen($comment->getContent()) && empty($this->inlineComments)) {
|
||||||
return null;
|
return null;
|
||||||
} else {
|
} else {
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user