fixes #31884 , faire en sortes sur les urls soient compatibles https et http

This commit is contained in:
Christophe LEON 2021-07-12 18:10:11 +04:00
parent f361110766
commit ed75b5f5c3
1 changed files with 2 additions and 1 deletions

View File

@ -200,7 +200,8 @@ class ApiController extends Controller
$bookmarks=null;
$items=null;
$itemcategorys=null;
$weburl="https://".$this->getParameter("weburl")."/".$this->getParameter("alias")."/";
# fixe #31884 "https://" => "//"
$weburl="//".$this->getParameter("weburl")."/".$this->getParameter("alias")."/";
$em->getRepository("CadolesPortalBundle:Item")->getUserItems($user,$bookmarks,$items,$itemcategorys,null,$ssoitems,3);