r95766 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95765‎ | r95766 | r95767 >
Date:12:29, 30 August 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
Followup r95760 - misspelt variable
Modified paths:
  • /trunk/extensions/Translate/TranslateUtils.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/TranslateUtils.php
@@ -228,7 +228,7 @@
229229 */
230230 public static function messageKeyToGroup( $namespace, $key ) {
231231 $groups = self::messageKeyToGroups( $namespace, $key );
232 - return count( $group ) ? $group[0] : null;
 232+ return count( $groups ) ? $groups[0] : null;
233233 }
234234
235235 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r95760Simplify, use strict comparisonnikerabbit12:05, 30 August 2011

Status & tagging log