r50388 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50387‎ | r50388 | r50389 >
Date:20:53, 9 May 2009
Author:nikerabbit
Status:ok
Tags:
Comment:
Another bug with the variables
Modified paths:
  • /trunk/extensions/Translate/tag/TPSection.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/tag/TPSection.php
@@ -42,7 +42,7 @@
4343 preg_match_all( $re, $this->text, $matches, PREG_SET_ORDER );
4444 $vars = array();
4545 foreach( $matches as $m ) {
46 - $vars[$m[1]] = $m[2];
 46+ $vars['$'.$m[1]] = $m[2];
4747 }
4848 return $vars;
4949 }

Status & tagging log