Commit 570111e6 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Petite correction pour éviter une deprecated php 8

parent b68b8bc4
Loading
Loading
Loading
Loading
Loading
+1 −0
Changes for module/Intervenant/src/Controller/IntervenantController.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -118,6 +118,7 @@ class IntervenantController extends AbstractController
                if (!$intervenant) {
                    unset($recents[$i]);
                    unset($container->recents[$i]);
                    continue;

                }
                if (!$affichageNumeroPerso && array_key_exists('numero-personnel', $recent)) {
+4 −3
Changes for module/Intervenant/src/Processus/RechercheProcessus.php: 4 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ class RechercheProcessus
        string $key = ':CODE',
        $onlyLocale = false,
        array $typeIntervenantCodes = [],
        bool $affichageNumeroPerso
        bool $affichageNumeroPerso = false,
    )

    {
@@ -257,10 +257,11 @@ class RechercheProcessus
        $critere,
        $limit = 50,
        string $key = ':CODE',
        array $typeIntervenantCodes = []
        array $typeIntervenantCodes = [],
        bool $affichageNumeroPerso = false,
    )
    {
        return $this->rechercheGenerique($critere, $limit, $key, true, $typeIntervenantCodes);
        return $this->rechercheGenerique($critere, $limit, $key, true, $typeIntervenantCodes, $affichageNumeroPerso);
    }

    /**