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 @@
1196
1196
self::titleLinksUpdate( $title ); // re-find stable version
1197
1197
$title->invalidateCache(); // purge squid/memcached
1198
1198
}
1199
- } else {
1199
+ }
1200
+ if( !$row ) {
1200
1201
return self::getDefaultVisibilitySettings();
1201
1202
}
1202
1203
$config = array(
Status & tagging log
07:12, 21 January 2010
Tim Starling
(
talk
|
contribs
)
changed the
status
of r60946
[
removed:
new
added:
ok]