ImagePage subclasses Article, therefore use parent::getContent()
[lhc/web/wiklou.git] / includes / ImagePage.php
index a1b204f..e239a79 100644 (file)
@@ -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() {