Commit c3523c71 authored by THEO GUILLON's avatar THEO GUILLON
Browse files

Merge branch '440-traitement-cree-par-dpo' into '2.1.0'

Resolve "Traitement créé par DPO"

See merge request libriciel/pole-citoyens/web-DPO/web-DPO!548
parents 6633471a 6236c0c9
Pipeline #15430 passed with stage
in 1 minute and 58 seconds
......@@ -412,9 +412,11 @@ class BanettesHelper extends AppHelper {
}
// Envoyer au DPO ou insèrer au registre
if ($this->Autorisation->isDpo() &&
if ($this->Autorisation->isDpo() === true &&
(
$result['EtatFiche']['etat_id'] == EtatFiche::ENCOURS_REDACTION ||
$result['EtatFiche']['etat_id'] == EtatFiche::ENCOURS_VALIDATION
)
) {
$menu .= $this->Html->tag(
'li',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment