Index: trunk/phase3/includes/specials/SpecialUpload.php |
— | — | @@ -732,9 +732,12 @@ |
733 | 733 | $this->mHideIgnoreWarning = !empty( $options['hideignorewarning'] ); |
734 | 734 | $this->mDestWarningAck = !empty( $options['destwarningack'] ); |
735 | 735 | |
736 | | - $this->mTextTop = $options['texttop']; |
737 | | - $this->mTextAfterSummary = $options['textaftersummary']; |
| 736 | + $this->mTextTop = isset( $options['texttop'] ) |
| 737 | + ? $options['texttop'] : ''; |
738 | 738 | |
| 739 | + $this->mTextAfterSummary = isset( $options['textaftersummary'] ) |
| 740 | + ? $options['textaftersummary'] : ''; |
| 741 | + |
739 | 742 | $sourceDescriptor = $this->getSourceSection(); |
740 | 743 | $descriptor = $sourceDescriptor |
741 | 744 | + $this->getDescriptionSection() |