Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15385641
D17150.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
810 B
Referenced Files
None
Subscribers
None
D17150.diff
View Options
diff --git a/src/applications/calendar/xaction/PhabricatorCalendarEventDateTransaction.php b/src/applications/calendar/xaction/PhabricatorCalendarEventDateTransaction.php
--- a/src/applications/calendar/xaction/PhabricatorCalendarEventDateTransaction.php
+++ b/src/applications/calendar/xaction/PhabricatorCalendarEventDateTransaction.php
@@ -23,6 +23,14 @@
}
public function getTransactionHasEffect($object, $old, $new) {
+ // If either value is `null` (for example, when setting a recurring event
+ // end date for the first time) and the other value is not `null`, this
+ // transaction has an effect.
+ $has_null = (($old === null) || ($new === null));
+ if ($has_null) {
+ return ($old !== $new);
+ }
+
$editor = $this->getEditor();
$actor = $this->getActor();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mar 15 2025, 11:02 PM (5 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7381533
Default Alt Text
D17150.diff (810 B)
Attached To
Mode
D17150: Fix an issue where setting a recurrence end date on a Calendar event without one could fatal
Attached
Detach File
Event Timeline
Log In to Comment