Index: trunk/phase3/includes/LogEventsList.php |
— | — | @@ -593,11 +593,11 @@ |
594 | 594 | if ( $msgKey ) { |
595 | 595 | $s = '<div class="mw-warning-with-logexcerpt">'; |
596 | 596 | |
597 | | - if ( sizeof( $msgKey ) == 1 ) { |
| 597 | + if ( count( $msgKey ) == 1 ) { |
598 | 598 | $s .= wfMsgExt( $msgKey[0], array('parse') ); |
599 | 599 | } else { // Process additional arguments |
600 | 600 | $args = $msgKey; |
601 | | - unset( $args[0] ); |
| 601 | + array_shift( $args ); |
602 | 602 | $s .= wfMsgExt( $msgKey[0], array('parse'), $args ); |
603 | 603 | } |
604 | 604 | } |