Index: trunk/extensions/Babel/Babel.class.php |
— | — | @@ -28,7 +28,7 @@ |
29 | 29 | $parser->getOutput()->addModuleStyles( 'ext.babel' ); |
30 | 30 | |
31 | 31 | $content = ''; |
32 | | - $templateParameter[0] = '' ; // collects name=value parameters to be passed to wiki templates. |
| 32 | + $templateParameters = array(); // collects name=value parameters to be passed to wiki templates. |
33 | 33 | foreach ( $parameters as $name ) { |
34 | 34 | if (strpos($name, '=') !== false) { |
35 | 35 | $templateParameters[] = $name; |