Index: trunk/phase3/includes/specials/SpecialUpload.php |
— | — | @@ -1070,6 +1070,7 @@ |
1071 | 1071 | static function getInitialPageText( $comment='', $license='', $copyStatus='', $source='' ) { |
1072 | 1072 | global $wgUseCopyrightUpload; |
1073 | 1073 | if ( $wgUseCopyrightUpload ) { |
| 1074 | + $licensetxt = ''; |
1074 | 1075 | if ( $license != '' ) { |
1075 | 1076 | $licensetxt = '== ' . wfMsgForContent( 'license' ) . " ==\n" . '{{' . $license . '}}' . "\n"; |
1076 | 1077 | } |