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; }