Notice: Undefined variable: extensionsList in includes/SpecialUpload.php on line...
authorRobert Leverington <roberthl@users.mediawiki.org>
Sun, 11 May 2008 17:15:15 +0000 (17:15 +0000)
committerRobert Leverington <roberthl@users.mediawiki.org>
Sun, 11 May 2008 17:15:15 +0000 (17:15 +0000)
includes/SpecialUpload.php

index 25ee62e..1df6dac 100644 (file)
@@ -1059,6 +1059,10 @@ wgUploadAutoFill = {$autofill};
 
                $encComment = htmlspecialchars( $this->mComment );
 
+               if( !isset( $extensionsList ) ) {
+                       $extensionsList = '';
+               }
+
                $wgOut->addHTML(
                         Xml::openElement( 'form', array( 'method' => 'post', 'action' => $titleObj->getLocalURL(),
                                 'enctype' => 'multipart/form-data', 'id' => 'mw-upload-form' ) ) .