Skip to content

Commit ef07e06

Browse files
committed
Improved on feedback
1 parent 1b43c6c commit ef07e06

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

module/Activity/src/Activity/Controller/ActivityCalendarController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ public function createAction()
6767
if ($success === false) {
6868
$this->getResponse()->setStatusCode(400);
6969
$form->setData($postData);
70+
} else {
71+
$this->redirect()->toRoute('activity_calendar', [], ['query' => ['success' => 'true']]);
7072
}
71-
$this->redirect()->toRoute('activity_calendar', [], ['query' => ['success' => 'true']]);
7273
}
7374

7475
$period = $service->getCurrentPeriod();

module/Activity/src/Activity/Form/ActivityCalendarProposal.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public function getInputFilterSpecification()
117117

118118

119119
/**
120-
* Check if a certain date is in the future
120+
* Check if the amount of options is acceptable
121121
*
122122
* @param $value
123123
* @param array $context

0 commit comments

Comments
 (0)