From 79a1f8160d3a6d2287dc5049506dff61bd378257 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Tue, 6 Sep 2011 19:20:20 +0000 Subject: [PATCH] -rakkaus/#mediawiki-i18n- [06-Sep-2011 19:12:04] PHP Fatal error: Call to a member function titleAttrib() on a non-object in /www/w/includes/SkinTemplate.php on line 1538 --- includes/SkinTemplate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index e0b7eb016f..e3435c4b6b 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -549,7 +549,7 @@ class SkinTemplate extends Skin { /* set up the default links for the personal toolbar */ $personal_urls = array(); - + $page = $request->getVal( 'returnto', $this->thispage ); $query = $request->getVal( 'returntoquery', $this->thisquery ); $a = array( 'returnto' => $page ); @@ -1535,7 +1535,7 @@ abstract class BaseTemplate extends QuickTemplate { } if ( isset( $item['single-id'] ) ) { if ( isset( $item['tooltiponly'] ) && $item['tooltiponly'] ) { - $attrs['title'] = $this->skin->titleAttrib( $item['single-id'] ); + $attrs['title'] = $this->getSkin()->titleAttrib( $item['single-id'] ); if ( $attrs['title'] === false ) { unset( $attrs['title'] ); } -- 2.20.1