From 743ffa79101ab7282bffbbb44a6ecd84e2773db4 Mon Sep 17 00:00:00 2001 From: afornerot Date: Thu, 1 Apr 2021 15:25:00 +0200 Subject: [PATCH] titre de la page dans le widget info group (ref #249) --- .../Cadoles/PortalBundle/Controller/PagewidgetController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PagewidgetController.php b/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PagewidgetController.php index 20803cc6..dfb3b7c6 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PagewidgetController.php +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PagewidgetController.php @@ -1526,7 +1526,7 @@ class PagewidgetController extends Controller if($this->usage=="group") { $groupentity=$this->em->getRepository("CadolesCoreBundle:Group")->find($this->group); if($groupentity) { - $title=$groupentity->getLabel(); + $title=$this->entity->getPage()->getName(); $id=$groupentity->getId(); if($groupentity->getDescription()) $description="Description
".$groupentity->getDescription();