From: Aaron Schulz Date: Fri, 24 Jul 2009 10:32:17 +0000 (+0000) Subject: undefined variable error fix X-Git-Tag: 1.31.0-rc.0~40749 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=1abc0b18253adbd2082deb09ef4b16feb7ea83c9;p=lhc%2Fweb%2Fwiklou.git undefined variable error fix --- diff --git a/includes/specials/SpecialUpload.php b/includes/specials/SpecialUpload.php index 733d22a275..6f5a1377b2 100644 --- a/includes/specials/SpecialUpload.php +++ b/includes/specials/SpecialUpload.php @@ -1070,6 +1070,7 @@ wgUploadAutoFill = {$autofill}; static function getInitialPageText( $comment='', $license='', $copyStatus='', $source='' ) { global $wgUseCopyrightUpload; if ( $wgUseCopyrightUpload ) { + $licensetxt = ''; if ( $license != '' ) { $licensetxt = '== ' . wfMsgForContent( 'license' ) . " ==\n" . '{{' . $license . '}}' . "\n"; }