Index: trunk/extensions/Translate/scripts/autoexport.php |
— | — | @@ -96,7 +96,7 @@ |
97 | 97 | if ( strpos( $row->rc_title, '/' ) !== false ) { |
98 | 98 | $code = $row->lang; |
99 | 99 | } |
100 | | - if ( $group && in_array( $group, $groupsFilter ) ) { |
| 100 | + if ( $group && ( !count($groupsFilter) || in_array( $group, $groupsFilter ) ) ) { |
101 | 101 | if ( $code && !in_array( $code, $skip ) ) { |
102 | 102 | $exports[$group][$code] = true; |
103 | 103 | } |