mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Fixed "last edited" display in CMS actions
This commit is contained in:
parent
8db69243c6
commit
cc536f644e
@ -2083,9 +2083,11 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
|
||||
$rootTabSet->addExtraClass('ss-ui-action-tabset action-menus');
|
||||
|
||||
// Render page information into the "more-options" drop-up, on the top.
|
||||
$live = Versioned::get_one_by_stage('SiteTree', 'Live', "\"SiteTree\".\"ID\"='$this->ID'");
|
||||
$moreOptions->push(
|
||||
new LiteralField('Information',
|
||||
$this->customise(array(
|
||||
'Live' => $live,
|
||||
'ExistsOnLive' => $existsOnLive
|
||||
))->renderWith('SiteTree_Information')
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user