r73202 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73201‎ | r73202 | r73203 >
Date:09:05, 17 September 2010
Author:daniel
Status:deferred
Tags:
Comment:
fix merge for uninitialized fields
Modified paths:
  • /trunk/extensions/DataTransclusion/MAB2RecordTransformer.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DataTransclusion/MAB2RecordTransformer.php
@@ -116,7 +116,7 @@
117117 else if ( count($values) == 1 ) $r[ $f ] = MAB2RecordTransformer::mangleValue( $values[0] );
118118 else {
119119 $values = array_unique( $values );
120 - $values = array_map( 'MAB2RecordTransformer::mangleValue', $values );
 120+ $values = array_map( array('MAB2RecordTransformer', 'mangleValue'), $values );
121121 $r[ $f ] = join(', ', $values);
122122 }
123123 }

Status & tagging log