http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90700
Revision: 90700
Author: nikerabbit
Date: 2011-06-24 09:29:55 +0000 (Fri, 24 Jun 2011)
Log Message:
-----------
Fix oddity caused by stylize.php
Modified Paths:
--------------
trunk/extensions/Translate/tag/TPParse.php
Modified: trunk/extensions/Translate/tag/TPParse.php
===================================================================
--- trunk/extensions/Translate/tag/TPParse.php 2011-06-24 09:28:10 UTC (rev
90699)
+++ trunk/extensions/Translate/tag/TPParse.php 2011-06-24 09:29:55 UTC (rev
90700)
@@ -4,7 +4,7 @@
*
* @file
* @author Niklas Laxström
- * @copyright Copyright © 2009-2010 Niklas Laxström
+ * @copyright Copyright © 2009-2011 Niklas Laxström
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License
2.0 or later
*/
@@ -88,7 +88,7 @@
foreach ( $sections as $s ) {
$s->type = 'old';
- if ( $s->id === - 1 ) {
+ if ( $s->id === -1 ) {
$s->type = 'new';
$s->id = ++$highest;
} else {
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs