Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -2580,11 +2580,13 @@ |
2581 | 2581 | * array( 'y' ) |
2582 | 2582 | * ) |
2583 | 2583 | */ |
2584 | | -function wfMergeErrorArrays(/*...*/) { |
| 2584 | +function wfMergeErrorArrays( /*...*/ ) { |
2585 | 2585 | $args = func_get_args(); |
2586 | 2586 | $out = array(); |
2587 | 2587 | foreach ( $args as $errors ) { |
2588 | 2588 | foreach ( $errors as $params ) { |
| 2589 | + # FIXME: sometimes get nested arrays for $params, |
| 2590 | + # which leads to E_NOTICEs |
2589 | 2591 | $spec = implode( "\t", $params ); |
2590 | 2592 | $out[$spec] = $params; |
2591 | 2593 | } |