diff --git a/lib/Form/Block/Date.php b/lib/Form/Block/Date.php
index 3fc9342aca..585ffa31b9 100644
--- a/lib/Form/Block/Date.php
+++ b/lib/Form/Block/Date.php
@@ -63,7 +63,7 @@ class Date {
$html .= $this->getDays($block);
$html .= '';
} else if ($dateSelector === 'MM') {
- $html .= '';
} else if ($dateSelector === 'YYYY') {
- $html .= '