* <b>Notice</b>: Undefined variable: val2 in <b>/var/www/sandwiki/includes/specials...
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Thu, 6 Aug 2009 09:45:38 +0000 (09:45 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Thu, 6 Aug 2009 09:45:38 +0000 (09:45 +0000)
* Fixed regression from r54428

includes/specials/SpecialUpload.php

index 277dfde..ba05e60 100644 (file)
@@ -738,7 +738,7 @@ wgUploadAutoFill = {$autofill};
                $val = wfShorthandToInteger( ini_get( 'upload_max_filesize' ) );
                $maxUploadSize = '<div id="mw-upload-maxfilesize">' .
                        wfMsgExt( 'upload-maxfilesize', array( 'parseinline', 'escapenoentities' ),
-                               $wgLang->formatSize( $val2 ) ) .
+                               $wgLang->formatSize( $val ) ) .
                                "</div>\n";
                //add a hidden filed for upload by url (uses the $wgMaxUploadSize var)
                if( UploadFromUrl::isEnabled() ){