Index: trunk/phase3/includes/HTMLForm.php |
— | — | @@ -1375,7 +1375,7 @@ |
1376 | 1376 | |
1377 | 1377 | function __construct( $params ) { |
1378 | 1378 | if ( !in_array( 'other', $params['options'], true ) ) { |
1379 | | - $msg = $params['other'] ? $params['other'] : wfMsg( 'htmlform-selectorother-other' ); |
| 1379 | + $msg = isset( $params['other'] ) ? $params['other'] : wfMsg( 'htmlform-selectorother-other' ); |
1380 | 1380 | $params['options'][$msg] = 'other'; |
1381 | 1381 | } |
1382 | 1382 | |