From: Robert Leverington Date: Sun, 11 May 2008 17:15:15 +0000 (+0000) Subject: Notice: Undefined variable: extensionsList in includes/SpecialUpload.php on line... X-Git-Tag: 1.31.0-rc.0~47714 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=a07bdfe21665d5027ec15d5b3f29e1ace65d12c9;p=lhc%2Fweb%2Fwiklou.git Notice: Undefined variable: extensionsList in includes/SpecialUpload.php on line 1081 --- diff --git a/includes/SpecialUpload.php b/includes/SpecialUpload.php index 25ee62ebd7..1df6dac5ac 100644 --- a/includes/SpecialUpload.php +++ b/includes/SpecialUpload.php @@ -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' ) ) .