mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
FIX Use correct API for determining if record is modified on draft stage
This commit is contained in:
parent
db0d4f0f98
commit
dc26478e94
@ -22,7 +22,7 @@ class GridFieldBlogPostState extends GridFieldSiteTreeState
|
||||
if ($record instanceof BlogPost) {
|
||||
$modifiedLabel = '';
|
||||
|
||||
if ($record->isModifiedOnStage) {
|
||||
if ($record->isModifiedOnDraft()) {
|
||||
$modifiedLabel = '<span class="modified">' . _t(__CLASS__ . '.Modified', 'Modified') . '</span>';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user