Page MenuHomePhabricator

D21483.id51133.diff
No OneTemporary

D21483.id51133.diff

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

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)

Event Timeline