[api edispatcher] fix #31881
This commit is contained in:
parent
d0a7f05f50
commit
eb3ed083e7
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue