Bugfix... PHP Notice outputted cause $skin was used in hook instead of $this.
authorDaniel Friesen <dantman@users.mediawiki.org>
Fri, 1 Aug 2008 15:50:59 +0000 (15:50 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Fri, 1 Aug 2008 15:50:59 +0000 (15:50 +0000)
includes/Skin.php

index 87d002b..a996d41 100644 (file)
@@ -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;