Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14044732
D10426.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.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
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)
Attached To
Mode
D10426: Phriction - fix edits with subscribers
Attached
Detach File
Event Timeline
Log In to Comment