1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +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:
epriestley 2016-10-07 07:57:53 -07:00
parent bc6e6c0500
commit 72edd36c7a

View file

@ -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) {