diff --git a/src/Controller/Component/CRUDComponent.php b/src/Controller/Component/CRUDComponent.php index ddaf00c..cd2dc88 100644 --- a/src/Controller/Component/CRUDComponent.php +++ b/src/Controller/Component/CRUDComponent.php @@ -225,7 +225,7 @@ class CRUDComponent extends Component $validationMessage = $this->prepareValidationError($data); $message = __( __('{0} could not be modified.'), - $this->ObjectAlias, + $this->ObjectAlias ); if ($this->Controller->ParamHandler->isRest()) { } else if ($this->Controller->ParamHandler->isAjax()) {