Trivial fix to coding style

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44554 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2007-11-09 03:40:05 +00:00
parent abb6d23cef
commit 2c8e304294

View File

@ -498,9 +498,10 @@ class Versioned extends DataObjectDecorator {
Session::set('currentStage', $_GET['stage']);
Session::clear('archiveDate');
}
if(isset($_GET['archiveDate']))
if(isset($_GET['archiveDate'])) {
Session::set('archiveDate', $_GET['archiveDate']);
}
if(Session::get('archiveDate')) {
Versioned::reading_archived_date(Session::get('archiveDate'));
} else if(Session::get('currentStage')) {