r60946 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60945‎ | r60946 | r60947 >
Date:22:40, 11 January 2010
Author:aaron
Status:ok
Tags:
Comment:
Fixed silly fatal scenario when $row is set to null
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.class.php
@@ -1195,7 +1195,8 @@
11961196 self::titleLinksUpdate( $title ); // re-find stable version
11971197 $title->invalidateCache(); // purge squid/memcached
11981198 }
1199 - } else {
 1199+ }
 1200+ if( !$row ) {
12001201 return self::getDefaultVisibilitySettings();
12011202 }
12021203 $config = array(

Status & tagging log