From c077d5c9c92fc7c50f45c2d12fdbcfe708801da5 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 11 Jun 2011 07:02:34 +0000 Subject: [PATCH] Changed more magic __get method calls to accessors, were throwing notices --- includes/Skin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Skin.php b/includes/Skin.php index cab34d272c..045aacd34c 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -511,7 +511,7 @@ abstract class Skin { function getCategoryLinks() { global $wgUseCategoryBrowser, $wgContLang; - $out = $this->getContext()->output; + $out = $this->getContext()->getOutput(); if ( count( $out->mCategoryLinks ) == 0 ) { return ''; @@ -601,7 +601,7 @@ abstract class Skin { } function getCategories() { - $out = $this->getContext()->output; + $out = $this->getContext()->getOutput(); $catlinks = $this->getCategoryLinks(); -- 2.20.1