From: Daniel Friesen Date: Fri, 1 Aug 2008 15:50:59 +0000 (+0000) Subject: Bugfix... PHP Notice outputted cause $skin was used in hook instead of $this. X-Git-Tag: 1.31.0-rc.0~46216 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=11a633e13ced78e5f65645f9c00cdea5b03e481a;p=lhc%2Fweb%2Fwiklou.git Bugfix... PHP Notice outputted cause $skin was used in hook instead of $this. --- diff --git a/includes/Skin.php b/includes/Skin.php index 87d002bf19..a996d414ee 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -1715,7 +1715,7 @@ END; } else { continue; } } } - wfRunHooks('SkinBuildSidebar', array($skin, &$bar)); + wfRunHooks('SkinBuildSidebar', array($this, &$bar)); if ( $wgEnableSidebarCache ) $parserMemc->set( $key, $bar, $wgSidebarCacheExpiry ); wfProfileOut( __METHOD__ ); return $bar;