Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15396014
D21483.id51133.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
813 B
Referenced Files
None
Subscribers
None
D21483.id51133.diff
View Options
diff --git a/src/infrastructure/diff/PhabricatorInlineCommentController.php b/src/infrastructure/diff/PhabricatorInlineCommentController.php
--- a/src/infrastructure/diff/PhabricatorInlineCommentController.php
+++ b/src/infrastructure/diff/PhabricatorInlineCommentController.php
@@ -189,6 +189,8 @@
$inline->setIsEditing(false);
if (!$inline->isVoidComment($viewer)) {
+ $inline->setIsDeleted(0);
+
$this->saveComment($inline);
return $this->buildRenderedCommentResponse(
@@ -217,7 +219,10 @@
$is_dirty = false;
if (!$inline->getIsEditing()) {
- $inline->setIsEditing(true);
+ $inline
+ ->setIsDeleted(0)
+ ->setIsEditing(true);
+
$is_dirty = true;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 17, 11:14 AM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7708297
Default Alt Text
D21483.id51133.diff (813 B)
Attached To
Mode
D21483: When a new, deleted, draft inline is revived with "Undo", undelete it
Attached
Detach File
Event Timeline
Log In to Comment