From eb3ed083e71b97e010e96175884ceaa8f55384ce Mon Sep 17 00:00:00 2001 From: Pierre Cadeot Date: Wed, 10 Mar 2021 18:12:13 +0400 Subject: [PATCH] [api edispatcher] fix #31881 --- .../src/Cadoles/EdispatcherBundle/Controller/ApiController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ninegate-1.0/src/Cadoles/EdispatcherBundle/Controller/ApiController.php b/src/ninegate-1.0/src/Cadoles/EdispatcherBundle/Controller/ApiController.php index 388fd98b..54d5c7ce 100755 --- a/src/ninegate-1.0/src/Cadoles/EdispatcherBundle/Controller/ApiController.php +++ b/src/ninegate-1.0/src/Cadoles/EdispatcherBundle/Controller/ApiController.php @@ -804,7 +804,6 @@ $api('$id',data);"; $altitem=$em->getRepository('CadolesPortalBundle:Item')->findOneBy(["url"=>$favurl."?gestion_edispatcher=locale"]); if(!$altitem) { $output["error"]="item with url=$favurl(?gestion_edispatcher=locale) not found"; - return new Response(json_encode($output), 400); } else { $item = $altitem; }