Index: trunk/extensions/Collection/Collection.body.php |
— | — | @@ -549,10 +549,10 @@ |
550 | 550 | } |
551 | 551 | |
552 | 552 | |
| 553 | + $articleTitle = Title::newFromText( $articleTitle ); |
553 | 554 | if( is_null( $articleTitle ) ) { |
554 | 555 | continue; |
555 | 556 | } |
556 | | - $articleTitle = Title::newFromText( $articleTitle ); |
557 | 557 | if ($oldid < 0) { |
558 | 558 | $article = new Article( $articleTitle ); |
559 | 559 | } else { |