Index: trunk/extensions/Translate/scripts/sync-group.php |
— | — | @@ -54,7 +54,7 @@ |
55 | 55 | $groups = array( $group ); |
56 | 56 | } |
57 | 57 | |
58 | | -if ( !isset( $options['lang'] ) ) { |
| 58 | +if ( !isset( $options['lang'] ) || strval( $options['lang'] ) === '' ) { |
59 | 59 | STDERR( "ESG3: List of language codes must be supplied with lang parameter." ); |
60 | 60 | exit( 1 ); |
61 | 61 | } |