Commit 7836f6e5 authored by Théo GUILLON's avatar Théo GUILLON

Merge branch '139-variables-en-commun-pour-l-organisation-et-le-dpo' into 'master'

Resolve "Variables en commun pour l'organisation et le DPO"

See merge request web-DPO/web-DPO!134
parents a3bab7a2 33ad12e9
......@@ -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