r49148 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49147‎ | r49148 | r49149 >
Date:11:01, 3 April 2009
Author:jojo
Status:ok
Tags:
Comment:
fix: move check to the right place
Modified paths:
  • /trunk/extensions/Collection/Collection.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Collection/Collection.body.php
@@ -549,10 +549,10 @@
550550 }
551551
552552
 553+ $articleTitle = Title::newFromText( $articleTitle );
553554 if( is_null( $articleTitle ) ) {
554555 continue;
555556 }
556 - $articleTitle = Title::newFromText( $articleTitle );
557557 if ($oldid < 0) {
558558 $article = new Article( $articleTitle );
559559 } else {

Status & tagging log