r53709 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53708‎ | r53709 | r53710 >
Date:10:32, 24 July 2009
Author:aaron
Status:ok
Tags:
Comment:
undefined variable error fix
Modified paths:
  • /trunk/phase3/includes/specials/SpecialUpload.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialUpload.php
@@ -1070,6 +1070,7 @@
10711071 static function getInitialPageText( $comment='', $license='', $copyStatus='', $source='' ) {
10721072 global $wgUseCopyrightUpload;
10731073 if ( $wgUseCopyrightUpload ) {
 1074+ $licensetxt = '';
10741075 if ( $license != '' ) {
10751076 $licensetxt = '== ' . wfMsgForContent( 'license' ) . " ==\n" . '{{' . $license . '}}' . "\n";
10761077 }

Status & tagging log