Commit 9e9d944a authored by tguillon's avatar tguillon
Browse files

Correction enregistrement affectation d'un sous-traitant à une entité

parent 11158398
......@@ -51,7 +51,7 @@ class SoustraitantsController extends AppController {
if ($this->request->is('post')) {
// Affectation
if (!empty($this->request->data['ResponsableOrganisation']['organisation_id'])) {
if (!empty($this->request->data['SoustraitantOrganisation']['organisation_id'])) {
if (isset($this->request->data['SoustraitantOrganisation']) === true) {
$success = true;
$this->Organisation->begin();
......
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