From 86e2372772e618c5d1238ae480d9f632789bbe50 Mon Sep 17 00:00:00 2001 From: Aaron Date: Wed, 16 May 2012 11:15:00 -0700 Subject: [PATCH] Fixed call to setArticleBodyOnly() on wrong object type. Change-Id: I492bbdb41aa849a86b162c7cc659dde391874454 --- includes/ImagePage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.20.1