Commit 68341b23 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Correction bug filtre : les structures apparaissaient trop tôt

parent 52b2cdb4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -274,7 +274,7 @@ class MiseEnPaiementRechercheForm extends AbstractForm

    public function hasStructures(): bool
    {
        return count($this->get('structure')->getValueOptions()) > 0;
        return $this->get('typeIntervenant')->getValue() && count($this->get('structure')->getValueOptions()) > 0;
    }