In Special:RevisionDelete:
[lhc/web/wiklou.git] / includes / specials / SpecialUpload.php
index fcd19ce..1e4a81a 100644 (file)
@@ -574,7 +574,9 @@ class UploadForm {
                if( !$this->mForReUpload ) {
                        $pageText = self::getInitialPageText( $this->mComment, $this->mLicense,
                                $this->mCopyrightStatus, $this->mCopyrightSource );
-               }       
+               } else {
+                       $pageText = false;
+               }
 
                $status = $this->mLocalFile->upload( $this->mTempPath, $this->mComment, $pageText,
                        File::DELETE_SOURCE, $this->mFileProps );