Crud : fix sprintf pbm

This commit is contained in:
Marc Ducobu 2021-05-19 15:00:13 +02:00
parent 912a8d53af
commit 51c2408878

View File

@ -590,7 +590,7 @@ class CRUDController extends AbstractController
if (NULL === $entity) { if (NULL === $entity) {
throw $this->createNotFoundException(sprintf("The %s with id %s " throw $this->createNotFoundException(sprintf("The %s with id %s "
. "is not found"), $this->getCrudName(), $id); . "is not found", $this->getCrudName(), $id));
} }
$response = $this->checkACL($action, $entity); $response = $this->checkACL($action, $entity);