From 8a10cfbc9873bf9eff17499cdee83879ab579cf8 Mon Sep 17 00:00:00 2001 From: lkassianik Date: Wed, 10 Jun 2015 15:37:29 -0700 Subject: [PATCH] Fix missing recurrence end date control Summary: Ref T8472, Fix missing recurrence end date control Test Plan: Create new event, recurrence end date should be available. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Maniphest Tasks: T8472 Differential Revision: https://secure.phabricator.com/D13241 --- .../controller/PhabricatorCalendarEventEditController.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/applications/calendar/controller/PhabricatorCalendarEventEditController.php b/src/applications/calendar/controller/PhabricatorCalendarEventEditController.php index ccf7cbf0b0..218fe17371 100644 --- a/src/applications/calendar/controller/PhabricatorCalendarEventEditController.php +++ b/src/applications/calendar/controller/PhabricatorCalendarEventEditController.php @@ -17,7 +17,7 @@ final class PhabricatorCalendarEventEditController $viewer = $request->getViewer(); $user_phid = $viewer->getPHID(); $error_name = true; - $error_recurrence_end_date = true; + $error_recurrence_end_date = null; $error_start_date = true; $error_end_date = true; $validation_exception = null; @@ -336,8 +336,7 @@ final class PhabricatorCalendarEventEditController ->setID($recurrence_end_date_id) ->setIsTimeDisabled(true) ->setIsDisabled($recurrence_end_date_value->isDisabled()) - ->setAllowNull(true) - ->isRequired(false); + ->setAllowNull(true); $recurrence_frequency_select = id(new AphrontFormSelectControl()) ->setName('frequency')