From: Sam Reed Date: Tue, 6 Sep 2011 19:20:20 +0000 (+0000) Subject: -rakkaus/#mediawiki-i18n- [06-Sep-2011 19:12:04] PHP Fatal error: Call to a member... X-Git-Tag: 1.31.0-rc.0~27867 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=79a1f8160d3a6d2287dc5049506dff61bd378257;p=lhc%2Fweb%2Fwiklou.git -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 --- 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'] ); }