Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15424225
D10426.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
901 B
Referenced Files
None
Subscribers
None
D10426.id.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 23, 8:59 PM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7695342
Default Alt Text
D10426.id.diff (901 B)
Attached To
Mode
D10426: Phriction - fix edits with subscribers
Attached
Detach File
Event Timeline
Log In to Comment