Commit 33ad12e9 authored by tguillon's avatar tguillon

Correction des variables en double pour la génération.

Modification des variables concernant le DPO par 'dpo_'
parent a3bab7a2
......@@ -245,7 +245,7 @@ class ModelesController extends AppController {
foreach ($userDPO['User'] as $key => $valueUserDPO) {
$variablesOrganisation['Dpo'][$key] = [
'organisation_'.$key => $valueUserDPO
'dpo_'.$key => $valueUserDPO
];
}
$this->set(compact('variablesOrganisation'));
......
......@@ -267,12 +267,12 @@ class Fiche extends AppModel {
}
foreach ($dpo['User'] as $key => $valueUserDPO) {
$donnees['organisation_'.$key] = [
$donnees['dpo_'.$key] = [
'value' => $valueUserDPO,
'type' => 'text'
];
}
return ($donnees);
}
......
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