Index: trunk/extensions/LiveTranslate/api/ApiQueryTranslationMemories.php |
— | — | @@ -26,6 +26,10 @@ |
27 | 27 | |
28 | 28 | $this->addTables( 'live_translate_memories' ); |
29 | 29 | |
| 30 | + if ( !in_array( 'id', $params ) ) { |
| 31 | + $this->addFields( 'memory_id' ); |
| 32 | + } |
| 33 | + |
30 | 34 | foreach ( $params['props'] as &$prop ) { |
31 | 35 | $prop = "memory_$prop"; |
32 | 36 | } |