diff --git a/Classes/Controller/AbstractSearchController.php b/Classes/Controller/AbstractSearchController.php index f0182dffe..0a083a146 100644 --- a/Classes/Controller/AbstractSearchController.php +++ b/Classes/Controller/AbstractSearchController.php @@ -219,7 +219,7 @@ public function convertFormDate($date, $fillMax = false) $dateTime->setDate($year, $month, $day); - if ($fillMax) { + if ($fillMax && !isset($date[2])) { $maxDayFormMonth = $dateTime->format('t'); $dateTime->setDate($year, $month, $maxDayFormMonth); }