From: Aaron Schulz Date: Mon, 11 Aug 2008 13:41:52 +0000 (+0000) Subject: Fix broken execution order. Setting the bodytext variable once already sent doesn... X-Git-Tag: 1.31.0-rc.0~45956 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=a910dd03bab51d43a66bc712fde0f12308c4cadf;p=lhc%2Fweb%2Fwiklou.git Fix broken execution order. Setting the bodytext variable once already sent doesn't work. --- diff --git a/includes/Skin.php b/includes/Skin.php index 68b179878e..60ddde9c2f 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -265,6 +265,9 @@ class Skin extends Linker { wfProfileIn( __METHOD__ ); $this->initPage( $out ); + // See self::afterContentHook() for documentation + $this->afterContentHook(); + $out->out( $out->headElement() ); $out->out( "\nout( $out->mBodytext . "\n" ); - // See self::afterContentHook() for documentation - $out->out ($this->afterContentHook()); - $out->out( $this->afterContent() ); $out->out( $this->bottomScripts() );