Remove big loud PHP warning if allow_call_time_pass_reference is off.
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 30 Apr 2006 03:46:39 +0000 (03:46 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 30 Apr 2006 03:46:39 +0000 (03:46 +0000)
Please test all code with allow_call_time_pass_reference *off*. Thanks.

includes/Parser.php

index 83ee8ec..c331144 100644 (file)
@@ -3459,7 +3459,7 @@ class Parser
                $text = $this->replaceVariables( $text );
                
                # Strip out <nowiki> etc. added via replaceVariables
-               $text = $this->strip( $text, &$stripState );
+               $text = $this->strip( $text, $stripState );
        
                # Signatures
                $sigText = $this->getUserSig( $user );