Commit b85529cd authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Correction pb workflow : problème d'application de périmètre

parent 742aaef9
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Workflow/src/Tbl/Process/WorkflowProcess.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -183,7 +183,7 @@ class WorkflowProcess implements ProcessInterface
            case Perimetre::ETABLISSEMENT:
                return true;
            case Perimetre::COMPOSANTE:
                return $structure == $precStructure || 0 === $precStructure;
                return $structure == $precStructure || 0 === $precStructure || 0 === $structure;
        }
    }