Index: trunk/extensions/Collection/Collection.body.php |
— | — | @@ -1343,7 +1343,7 @@ |
1344 | 1344 | * OutputPageCheckLastModified hook |
1345 | 1345 | */ |
1346 | 1346 | static function checkLastModified( $modifiedTimes ) { |
1347 | | - if ( self::hasSession() ) { |
| 1347 | + if ( self::hasSession() && isset( $_SESSION['wsCollection']['timestamp'] ) ) { |
1348 | 1348 | $modifiedTimes['collection'] = $_SESSION['wsCollection']['timestamp']; |
1349 | 1349 | } |
1350 | 1350 | return true; |