From 42fe290d16f66ba3d719bc6149cc79570e55a6b3 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Sun, 16 Aug 2009 20:56:48 +0000 Subject: [PATCH] (bug 20274) Strict standards issue in 5.3. --- includes/parser/Preprocessor_DOM.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/includes/parser/Preprocessor_DOM.php b/includes/parser/Preprocessor_DOM.php index 08e1c7934f..3c79dae069 100644 --- a/includes/parser/Preprocessor_DOM.php +++ b/includes/parser/Preprocessor_DOM.php @@ -419,7 +419,8 @@ class Preprocessor_DOM implements Preprocessor { 'count' => $count ); $stack->push( $piece ); $accum =& $stack->getAccum(); - extract( $stack->getFlags() ); + $flags = $stack->getFlags(); + extract( $flags ); $i += $count; } } @@ -470,7 +471,8 @@ class Preprocessor_DOM implements Preprocessor { // Unwind the stack $stack->pop(); $accum =& $stack->getAccum(); - extract( $stack->getFlags() ); + $flags = $stack->getFlags(); + extract( $flags ); // Append the result to the enclosing accumulator $accum .= $element; @@ -497,7 +499,8 @@ class Preprocessor_DOM implements Preprocessor { $stack->push( $piece ); $accum =& $stack->getAccum(); - extract( $stack->getFlags() ); + $flags = $stack->getFlags(); + extract( $flags ); } else { # Add literal brace(s) $accum .= htmlspecialchars( str_repeat( $curChar, $count ) ); @@ -597,8 +600,8 @@ class Preprocessor_DOM implements Preprocessor { } $enclosingAccum .= str_repeat( $piece->open, $skippedBraces ); } - - extract( $stack->getFlags() ); + $flags = $stack->getFlags(); + extract( $flags ); # Add XML element to the enclosing accumulator $accum .= $element; -- 2.20.1