Fixed incorrect isModified method name causing error

Whoops, my bad.
This commit is contained in:
James Cocker 2014-06-13 13:48:34 +01:00
parent eea227d42e
commit 6d1f571896

View File

@ -30,7 +30,7 @@ class GridFieldBlogPostState implements GridField_ColumnProvider {
if($columnName == "State") {
if($record->hasMethod("isPublished")) {
$modifiedLabel = "";
if($record->isModified()) {
if($record->isModifiedOnStage) {
$modifiedLabel = "<span class='modified'>" . _t("GridFieldBlogPostState.Modified") . "</span>";
}