Page MenuHomePhabricator

D16311.id39228.diff
No OneTemporary

D16311.id39228.diff

diff --git a/src/applications/calendar/xaction/PhabricatorCalendarEventInviteTransaction.php b/src/applications/calendar/xaction/PhabricatorCalendarEventInviteTransaction.php
--- a/src/applications/calendar/xaction/PhabricatorCalendarEventInviteTransaction.php
+++ b/src/applications/calendar/xaction/PhabricatorCalendarEventInviteTransaction.php
@@ -179,6 +179,14 @@
$old = $this->getOldValue();
$new = $this->getNewValue();
+ // $old has this handled in `generateOldValue`.
+ $status_uninvited = PhabricatorCalendarEventInvitee::STATUS_UNINVITED;
+ foreach ($new as $key => $status) {
+ if ($status == $status_uninvited) {
+ unset($new[$key]);
+ }
+ }
+
$add = array_diff_key($new, $old);
$rem = array_diff_key($old, $new);

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 10, 12:04 PM (1 w, 9 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6764148
Default Alt Text
D16311.id39228.diff (780 B)

Event Timeline