mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
abb6d23cef
commit
2c8e304294
@ -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')) {
|
||||
|
Loading…
Reference in New Issue
Block a user