Fix notice in view source
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 12 Apr 2004 04:10:58 +0000 (04:10 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 12 Apr 2004 04:10:58 +0000 (04:10 +0000)
includes/OutputPage.php

index d32792a..4141dcb 100644 (file)
@@ -502,7 +502,7 @@ class OutputPage {
                if($source) {
                        $rows = $wgUser->getOption( "rows" );
                        $cols = $wgUser->getOption( "cols" );
-                       $text .= "</p>\n<textarea cols='$cols' rows='$rows' readonly>" .
+                       $text = "</p>\n<textarea cols='$cols' rows='$rows' readonly>" .
                                htmlspecialchars( $source ) . "\n</textarea>";
                        $this->addHTML( $text );
                }