Skip to content

Commit

Permalink
Make current year default value in the Special:Contributions
Browse files Browse the repository at this point in the history
Bug: 45580
Change-Id: I720946e7a37ca5a639c3ac786fc863020929cf1a
  • Loading branch information
ganeshaditya1 authored and Alexandre Emsenhuber committed Apr 23, 2013
1 parent 029d1be commit f495a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/specials/SpecialContributions.php
Expand Up @@ -388,7 +388,7 @@ protected function getForm() {
}

if ( !isset( $this->opts['year'] ) ) {
$this->opts['year'] = '';
$this->opts['year'] = gmdate( 'Y' );
}

if ( !isset( $this->opts['month'] ) ) {
Expand Down

0 comments on commit f495a2e

Please sign in to comment.