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
Thu, Dec 19, 10:20 AM (1 h, 55 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6907003
Default Alt Text
D16311.id39228.diff (780 B)

Event Timeline