From ea0946c3bf62894b0367c2f3bf488ab5948e85a1 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sun, 28 Nov 2010 16:05:41 +0000 Subject: [PATCH] ImagePage subclasses Article, therefore use parent::getContent() --- includes/ImagePage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ImagePage.php b/includes/ImagePage.php index a1b204fbd6..e239a79c42 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -290,7 +290,7 @@ class ImagePage extends Article { if ( $this->img && !$this->img->isLocal() && 0 == $this->getID() ) { return ''; } - return Article::getContent(); + return parent::getContent(); } protected function openShowImage() { -- 2.20.1