Fix an issue with recurrence rules being set improperly in transaction code
Summary: Fixes T11745. I just missed this while juggling some of the internal storage. Test Plan: Created a new event with recurrence behavior. Reviewers: chad Reviewed By: chad Maniphest Tasks: T11745 Differential Revision: https://secure.phabricator.com/D16684
This commit is contained in:
@@ -19,8 +19,7 @@ final class PhabricatorCalendarEventFrequencyTransaction
|
||||
$rrule = id(new PhutilCalendarRecurrenceRule())
|
||||
->setFrequency($value);
|
||||
|
||||
$dict = $rrule->toDictionary();
|
||||
$object->setRecurrenceRule($dict);
|
||||
$object->setRecurrenceRule($rrule);
|
||||
}
|
||||
|
||||
public function validateTransactions($object, array $xactions) {
|
||||
|
||||
Reference in New Issue
Block a user