Index: trunk/extensions/LiquidThreads/classes/View.php |
— | — | @@ -245,7 +245,7 @@ |
246 | 246 | |
247 | 247 | function showSummarizeForm( $thread ) { |
248 | 248 | $this->output->addWikiMsg( 'lqt-summarize-intro' ); |
249 | | - $this->showEditingFormInGeneral( null, 'summarize', $thread ); |
| 249 | + $this->showEditingFormInGeneral( $thread, 'summarize', $thread ); |
250 | 250 | } |
251 | 251 | |
252 | 252 | function doInlineEditForm() { |
— | — | @@ -404,7 +404,7 @@ |
405 | 405 | $thread = Threads::newThread( $edit_page, $article, $edit_applies_to, |
406 | 406 | Threads::TYPE_NORMAL, $subject ); |
407 | 407 | } elseif ( $edit_type == 'summarize' ) { |
408 | | - $edit_applies_to->setSummary( $article ); |
| 408 | + $edit_applies_to->setSummary( $edit_page ); |
409 | 409 | $edit_applies_to->commitRevision( Threads::CHANGE_EDITED_SUMMARY, |
410 | 410 | $edit_applies_to, $edit_summary ); |
411 | 411 | } elseif ( $edit_type == 'editExisting' ) { |