r24055 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24054‎ | r24055 | r24056 >
Date:08:42, 13 July 2007
Author:nickj
Status:old
Tags:
Comment:
Prevent backtrace about invalid hook by adding a "return true;" statement to a TalkHere hook.
Modified paths:
  • /trunk/extensions/TalkHere/TalkHere.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TalkHere/TalkHere.php
@@ -122,6 +122,7 @@
123123 $editor->submit();
124124
125125 mangleEditForm( $wgOut, $returnto ); //HACK. This sucks.
 126+ return true;
126127 }
127128
128129 function wfTalkHereShowEditFormFields( &$editor, &$out ) {

Status & tagging log