Index: trunk/phase3/includes/specials/SpecialUpload.php |
— | — | @@ -566,8 +566,10 @@ |
567 | 567 | * Try actually saving the thing... |
568 | 568 | * It will show an error form on failure. |
569 | 569 | */ |
570 | | - $pageText = self::getInitialPageText( $this->mComment, $this->mLicense, |
571 | | - $this->mCopyrightStatus, $this->mCopyrightSource ); |
| 570 | + if( !$this->mReUpload ) { |
| 571 | + $pageText = self::getInitialPageText( $this->mComment, $this->mLicense, |
| 572 | + $this->mCopyrightStatus, $this->mCopyrightSource ); |
| 573 | + } |
572 | 574 | |
573 | 575 | $status = $this->mLocalFile->upload( $this->mTempPath, $this->mComment, $pageText, |
574 | 576 | File::DELETE_SOURCE, $this->mFileProps ); |