Page MenuHomePhabricator

D10426.diff
No OneTemporary

D10426.diff

diff --git a/src/applications/phriction/editor/PhrictionDocumentEditor.php b/src/applications/phriction/editor/PhrictionDocumentEditor.php
--- a/src/applications/phriction/editor/PhrictionDocumentEditor.php
+++ b/src/applications/phriction/editor/PhrictionDocumentEditor.php
@@ -264,7 +264,7 @@
}
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 @@
array(
'phid' => $document->getPHID(),
'action' => $feed_action,
- 'content' => $content,
+ 'content' => $content_str,
'project' => $project_phid,
'movedFromPHID' => $this->fromDocumentPHID,
))

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 13, 8:10 PM (5 d, 16 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6733086
Default Alt Text
D10426.diff (901 B)

Event Timeline