Index: trunk/extensions/Collection/Collection.body.php |
— | — | @@ -1145,7 +1145,7 @@ |
1146 | 1146 | } |
1147 | 1147 | |
1148 | 1148 | $revision = Revision::newFromTitle( $title, $oldid ); |
1149 | | - if ( $title ) { |
| 1149 | + if ( $revision ) { |
1150 | 1150 | $article['timestamp'] = wfTimestamp( TS_UNIX, $revision->getTimestamp() ); |
1151 | 1151 | } |
1152 | 1152 | |