mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Fixed incorrect isModified method name causing error
Whoops, my bad.
This commit is contained in:
parent
eea227d42e
commit
6d1f571896
@ -30,7 +30,7 @@ class GridFieldBlogPostState implements GridField_ColumnProvider {
|
|||||||
if($columnName == "State") {
|
if($columnName == "State") {
|
||||||
if($record->hasMethod("isPublished")) {
|
if($record->hasMethod("isPublished")) {
|
||||||
$modifiedLabel = "";
|
$modifiedLabel = "";
|
||||||
if($record->isModified()) {
|
if($record->isModifiedOnStage) {
|
||||||
$modifiedLabel = "<span class='modified'>" . _t("GridFieldBlogPostState.Modified") . "</span>";
|
$modifiedLabel = "<span class='modified'>" . _t("GridFieldBlogPostState.Modified") . "</span>";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,4 +91,4 @@ class GridFieldBlogPostState implements GridField_ColumnProvider {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user