r94034 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94033‎ | r94034 | r94035 >
Date:03:08, 7 August 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
small fix
Modified paths:
  • /trunk/extensions/LiveTranslate/api/ApiQueryTranslationMemories.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiveTranslate/api/ApiQueryTranslationMemories.php
@@ -26,6 +26,10 @@
2727
2828 $this->addTables( 'live_translate_memories' );
2929
 30+ if ( !in_array( 'id', $params ) ) {
 31+ $this->addFields( 'memory_id' );
 32+ }
 33+
3034 foreach ( $params['props'] as &$prop ) {
3135 $prop = "memory_$prop";
3236 }

Status & tagging log