From: Aaron Date: Wed, 16 May 2012 18:15:00 +0000 (-0700) Subject: Fixed call to setArticleBodyOnly() on wrong object type. X-Git-Tag: 1.31.0-rc.0~23598 X-Git-Url: http://git.cyclocoop.org//%22javascript:ModifierStyle%28%27%22.%24id.%22%27%29/%22?a=commitdiff_plain;h=86e2372772e618c5d1238ae480d9f632789bbe50;p=lhc%2Fweb%2Fwiklou.git Fixed call to setArticleBodyOnly() on wrong object type. Change-Id: I492bbdb41aa849a86b162c7cc659dde391874454 --- diff --git a/includes/ImagePage.php b/includes/ImagePage.php index fc3bdff5e8..3fbbcba26b 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -96,7 +96,7 @@ class ImagePage extends Article { * Include body text only; none of the image extras */ public function render() { - $this->getContext()->setArticleBodyOnly( true ); + $this->getContext()->getOutput()->setArticleBodyOnly( true ); parent::view(); }