mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Call the correct method ->isModifiedOnDraft()
This commit is contained in:
parent
db0d4f0f98
commit
4e5f25c5eb
@ -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