r72793 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72792‎ | r72793 | r72794 >
Date:10:02, 11 September 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
Fix bug with navigation links
Modified paths:
  • /trunk/extensions/Translate/TranslateEditAddons.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/TranslateEditAddons.php
@@ -35,7 +35,7 @@
3636 }
3737
3838 list( $key, $code, $group ) = self::getKeyCodeGroup( $wgTitle );
39 - if ( $group === null ) {
 39+ if ( !$group || !$code ) {
4040 return true;
4141 }
4242

Status & tagging log