X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Factions%2FHistoryAction.php;h=a1d1c3a197d46234f1ba3a81cb3cac62d749551b;hp=051fa42deeef9cabafa44d4decaf8e8bc22d95cb;hb=ec493cc7508e4741e370cbcd10b59ba636c13113;hpb=51bc1068131fa100e55b1484c44eccf6abb1cf9d diff --git a/includes/actions/HistoryAction.php b/includes/actions/HistoryAction.php index 051fa42dee..a1d1c3a197 100644 --- a/includes/actions/HistoryAction.php +++ b/includes/actions/HistoryAction.php @@ -176,7 +176,7 @@ class HistoryAction extends FormlessAction { ) . Html::hidden( 'title', $this->getTitle()->getPrefixedDBKey() ) . "\n" . Html::hidden( 'action', 'history' ) . "\n" . - Xml::dateMenu( $year, $month ) . ' ' . + Xml::dateMenu( ( $year == null ? date( "Y" ) : $year ), $month ) . ' ' . ( $tagSelector ? ( implode( ' ', $tagSelector ) . ' ' ) : '' ) . $checkDeleted . Xml::submitButton( $this->msg( 'allpagessubmit' )->text() ) . "\n" .