diff --git a/components/com_content/views/archive/view.html.php b/components/com_content/views/archive/view.html.php index 7c47c2656a052..42c922f1f1c76 100644 --- a/components/com_content/views/archive/view.html.php +++ b/components/com_content/views/archive/view.html.php @@ -79,7 +79,7 @@ public function display($tpl = null) // Year Field $years = array(); $years[] = JHtml::_('select.option', null, JText::_('JYEAR')); - for ($i = 2000; $i <= 2020; $i++) + for ($year = date('Y'), $i = $year - 10; $i <= $year; $i++) { $years[] = JHtml::_('select.option', $i, $i); }