Index: trunk/extensions/Validator/includes/ParserHook.php |
— | — | @@ -213,7 +213,8 @@ |
214 | 214 | $this->parser = $parser; |
215 | 215 | $this->frame = $frame; |
216 | 216 | |
217 | | - $defaultParam = array_shift( $this->getDefaultParameters( self::TYPE_TAG ) ); |
| 217 | + $defaultParameters = $this->getDefaultParameters( self::TYPE_TAG ) |
| 218 | + $defaultParam = array_shift( $defaultParameters ); |
218 | 219 | |
219 | 220 | // If there is a first default parameter, set the tag contents as it's value. |
220 | 221 | if ( !is_null( $defaultParam ) && !is_null( $input ) ) { |