Index: trunk/extensions/LiquidThreads/api/ApiThreadAction.php |
— | — | @@ -347,7 +347,7 @@ |
348 | 348 | $article->getTitle()->resetArticleID( $articleId ); |
349 | 349 | $title->resetArticleID( $articleId ); |
350 | 350 | |
351 | | - $thread = LqtView::postEditUpdates( 'new', null, $articleId, $talkpage, |
| 351 | + $thread = LqtView::postEditUpdates( 'new', null, $article, $talkpage, |
352 | 352 | $subject, $summary, null, $text ); |
353 | 353 | |
354 | 354 | $maxLag = wfGetLB()->getMaxLag(); |
— | — | @@ -445,7 +445,7 @@ |
446 | 446 | $article->getTitle()->resetArticleID( $articleId ); |
447 | 447 | $title->resetArticleID( $articleId ); |
448 | 448 | |
449 | | - $thread = LqtView::postEditUpdates( 'reply', $replyTo, $articleId, $talkpage, |
| 449 | + $thread = LqtView::postEditUpdates( 'reply', $replyTo, $article, $talkpage, |
450 | 450 | $subject, $summary, null, $text ); |
451 | 451 | |
452 | 452 | $maxLag = wfGetLB()->getMaxLag(); |