diff --git a/src/applications/phriction/editor/PhrictionDocumentEditor.php b/src/applications/phriction/editor/PhrictionDocumentEditor.php index 988c5dcbe9..89321b3c95 100644 --- a/src/applications/phriction/editor/PhrictionDocumentEditor.php +++ b/src/applications/phriction/editor/PhrictionDocumentEditor.php @@ -264,7 +264,7 @@ final class PhrictionDocumentEditor extends PhabricatorEditor { } if ($feed_action) { - $content = id(new PhutilUTF8StringTruncator()) + $content_str = id(new PhutilUTF8StringTruncator()) ->setMaximumGlyphs(140) ->truncateString($new_content->getContent()); id(new PhabricatorFeedStoryPublisher()) @@ -276,7 +276,7 @@ final class PhrictionDocumentEditor extends PhabricatorEditor { array( 'phid' => $document->getPHID(), 'action' => $feed_action, - 'content' => $content, + 'content' => $content_str, 'project' => $project_phid, 'movedFromPHID' => $this->fromDocumentPHID, ))