Make current year default value in the Special:Contributions

Bug: 45580
Change-Id: I720946e7a37ca5a639c3ac786fc863020929cf1a
This commit is contained in:
AVRS Aditya Sastry 2013-04-16 19:33:04 +05:30 committed by Alexandre Emsenhuber
parent 029d1bea36
commit f495a2e632

View file

@ -388,7 +388,7 @@ class SpecialContributions extends SpecialPage {
}
if ( !isset( $this->opts['year'] ) ) {
$this->opts['year'] = '';
$this->opts['year'] = gmdate( 'Y' );
}
if ( !isset( $this->opts['month'] ) ) {