$parseroptions to $options
authorSam Reed <reedy@users.mediawiki.org>
Wed, 18 Aug 2010 10:00:42 +0000 (10:00 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Wed, 18 Aug 2010 10:00:42 +0000 (10:00 +0000)
includes/Article.php

index 9ab205e..8ecc52b 100644 (file)
@@ -1501,7 +1501,7 @@ class Article {
                
                if ( $wgOut->isPrintable() ) {
                        $options->setIsPrintable( true );
-                       $parserOptions->setEditSection( false );
+                       $options->setEditSection( false );
                }
                
                $output = $parserCache->getDirty( $this, $options );