Update SkinAfterContent hook to pass the current skin too
[lhc/web/wiklou.git] / includes / Skin.php
index f000fbf..99926b7 100644 (file)
@@ -911,7 +911,7 @@ CSS;
        protected function afterContentHook() {
                $data = '';
 
-               if( wfRunHooks( 'SkinAfterContent', array( &$data ) ) ) {
+               if( wfRunHooks( 'SkinAfterContent', array( &$data, $this ) ) ) {
                        // adding just some spaces shouldn't toggle the output
                        // of the whole <div/>, so we use trim() here
                        if( trim( $data ) != '' ) {