r90700 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90699‎ | r90700 | r90701 >
Date:09:29, 24 June 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
Fix oddity caused by stylize.php
Modified paths:
  • /trunk/extensions/Translate/tag/TPParse.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/tag/TPParse.php
@@ -4,7 +4,7 @@
55 *
66 * @file
77 * @author Niklas Laxström
8 - * @copyright Copyright © 2009-2010 Niklas Laxström
 8+ * @copyright Copyright © 2009-2011 Niklas Laxström
99 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
1010 */
1111
@@ -88,7 +88,7 @@
8989 foreach ( $sections as $s ) {
9090 $s->type = 'old';
9191
92 - if ( $s->id === - 1 ) {
 92+ if ( $s->id === -1 ) {
9393 $s->type = 'new';
9494 $s->id = ++$highest;
9595 } else {

Status & tagging log