Index: trunk/extensions/Translate/MessageCollection.php |
— | — | @@ -196,6 +196,7 @@ |
197 | 197 | if ( $filter !== 'optional' && $filter !== 'ignored' ) { |
198 | 198 | throw new MWException( "No tagged messages for custom filter $filter" ); |
199 | 199 | } |
| 200 | + $keys = array(); |
200 | 201 | } else { |
201 | 202 | $taggedKeys = array_flip( $this->tags[$filter] ); |
202 | 203 | $keys = $this->filterOnCondition( $keys, $taggedKeys, $condition ); |