diff --git a/src/Forms/GridField/GridFieldDetailForm_ItemRequest.php b/src/Forms/GridField/GridFieldDetailForm_ItemRequest.php index 25b82225d..7950aaa27 100644 --- a/src/Forms/GridField/GridFieldDetailForm_ItemRequest.php +++ b/src/Forms/GridField/GridFieldDetailForm_ItemRequest.php @@ -114,7 +114,6 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler $this->httpError(403, _t( __CLASS__ . '.ViewPermissionsFailure', 'It seems you don\'t have the necessary permissions to view {ObjectTitle}', - '', ['ObjectTitle' => $this->record->singular_name()] )); } @@ -197,7 +196,6 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler return $controller->httpError(403, _t( __CLASS__ . '.ViewPermissionsFailure', 'It seems you don\'t have the necessary permissions to view {ObjectTitle}', - '', ['ObjectTitle' => $this->record->singular_name()] )); } @@ -502,7 +500,6 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler $this->httpError(403, _t( __CLASS__ . '.EditPermissionsFailure', 'It seems you don\'t have the necessary permissions to edit {ObjectTitle}', - '', ['ObjectTitle' => $this->record->singular_name()] )); return null;