From e9d6725f8afe1d81d0dd15f0fbfaa45f44d23fe7 Mon Sep 17 00:00:00 2001 From: fipwmaqzufheoxq92ebc <29818044+fipwmaqzufheoxq92ebc@users.noreply.github.com> Date: Sat, 12 Sep 2020 13:03:20 +0200 Subject: [PATCH] Fix undefined variable in GenericEntityApiController.php --- controllers/GenericEntityApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/GenericEntityApiController.php b/controllers/GenericEntityApiController.php index fd1347e1..9f2c59c4 100644 --- a/controllers/GenericEntityApiController.php +++ b/controllers/GenericEntityApiController.php @@ -64,7 +64,7 @@ class GenericEntityApiController extends BaseApiController } else { - return $this->GenericErrorResponse($response, $ex->getMessage()); + return $this->GenericErrorResponse($response, "Invalid entity"); } }