mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 12:00:55 +01:00
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:
parent
bc6e6c0500
commit
72edd36c7a
1 changed files with 1 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue