r62892 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62891‎ | r62892 | r62893 >
Date:21:05, 23 February 2010
Author:siebrand
Status:ok
Tags:
Comment:
Fix PHP Notice: Undefined variable: summary in classes/View.php on line 819
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/View.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/classes/View.php
@@ -816,7 +816,7 @@
817817 $data['subject'] != $thread->subject() ) {
818818 $thread->setSubject( $data['subject'] );
819819 $thread->commitRevision( Threads::CHANGE_EDITED_SUBJECT,
820 - $thread, $summary );
 820+ $thread, $data['summary'] );
821821
822822 // Disabled page-moving for now.
823823 // $this->renameThread( $thread, $subject, $e->summary );

Status & tagging log