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