replace fqdn in customfields bundle

This commit is contained in:
2022-04-30 00:46:48 +02:00
parent 6da19b0135
commit f26d50a3a8
10 changed files with 22 additions and 19 deletions

View File

@@ -75,7 +75,7 @@ class ReportController extends AbstractController
$em = $this->getDoctrine()->getManager();
$entity = new Report();
$cFGroup = $em->getRepository('ChillCustomFieldsBundle:CustomFieldsGroup')
$cFGroup = $em->getRepository(\Chill\CustomFieldsBundle\Entity\CustomFieldsGroup::class)
->find($cf_group_id);
$person = $em->getRepository(\Chill\PersonBundle\Entity\Person::class)
@@ -186,7 +186,7 @@ class ReportController extends AbstractController
{
$em = $this->getDoctrine()->getManager();
$cFGroup = $em->getRepository('ChillCustomFieldsBundle:CustomFieldsGroup')->find($cf_group_id);
$cFGroup = $em->getRepository(\Chill\CustomFieldsBundle\Entity\CustomFieldsGroup::class)->find($cf_group_id);
$reports = $em->getRepository('ChillReportBundle:Report')->findByCFGroup($cFGroup);
$response = $this->render('ChillReportBundle:Report:export.csv.twig', [
@@ -271,7 +271,7 @@ class ReportController extends AbstractController
$person = $em->getRepository(\Chill\PersonBundle\Entity\Person::class)->find($person_id);
$cFGroup = $em
->getRepository('ChillCustomFieldsBundle:CustomFieldsGroup')
->getRepository(\Chill\CustomFieldsBundle\Entity\CustomFieldsGroup::class)
->find($cf_group_id);
if (null === $person) {
@@ -343,7 +343,7 @@ class ReportController extends AbstractController
);
}
$cFGroups = $em->getRepository('ChillCustomFieldsBundle:CustomFieldsGroup')
$cFGroups = $em->getRepository(\Chill\CustomFieldsBundle\Entity\CustomFieldsGroup::class)
->findByEntity('Chill\ReportBundle\Entity\Report');
if (count($cFGroups) === 1) {
@@ -402,7 +402,7 @@ class ReportController extends AbstractController
$em = $this->getDoctrine()->getManager();
$cFGroups = $em->getRepository('ChillCustomFieldsBundle:CustomFieldsGroup')
$cFGroups = $em->getRepository(\Chill\CustomFieldsBundle\Entity\CustomFieldsGroup::class)
->findByEntity('Chill\ReportBundle\Entity\Report');
if (count($cFGroups) === 1) {