r23171 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23170‎ | r23171 | r23172 >
Date:16:38, 21 June 2007
Author:amidaniel
Status:old
Tags:
Comment:
Another hooked function return type fix.
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -883,7 +883,7 @@
884884 global $wgRequest, $wgTitle, $wgOut;
885885 // Talk pages cannot be validated
886886 if( !$editform->mArticle || !$wgTitle->isContentPage() )
887 - return;
 887+ return false;
888888 // Find out revision id
889889 if( $editform->mArticle->mRevision ) {
890890 $revid = $editform->mArticle->mRevision->mId;

Status & tagging log