From: Rotem Liss Date: Wed, 7 Nov 2007 11:16:43 +0000 (+0000) Subject: Reverting r27280: Shows a PHP warning, and doesn't seem to fix the bug. If it should... X-Git-Tag: 1.31.0-rc.0~50965 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/supprimer.php?a=commitdiff_plain;h=11c9dd35bb7cf20b0fb829824b44fec35a4c3b4e;p=lhc%2Fweb%2Fwiklou.git Reverting r27280: Shows a PHP warning, and doesn't seem to fix the bug. If it should be passed by reference, please change the function itself. --- diff --git a/includes/Parser.php b/includes/Parser.php index beb9c87a8a..3815dcb4f2 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -412,7 +412,7 @@ class Parser function recursiveTagParse( $text ) { wfProfileIn( __METHOD__ ); wfRunHooks( 'ParserBeforeStrip', array( &$this, &$text, &$this->mStripState ) ); - $text = $this->strip( $text, &$this->mStripState ); + $text = $this->strip( $text, $this->mStripState ); wfRunHooks( 'ParserAfterStrip', array( &$this, &$text, &$this->mStripState ) ); $text = $this->internalParse( $text ); wfProfileOut( __METHOD__ );