Commit 58379678 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Merge branch '5945-unable-to-add-sinaps-structure' into '1.3-fixes'

Resolve "unable to add SINAPS Structure" in 1.3-fixes

See merge request fusiondirectory/fd-plugins!525
parents ed52b0dd b77e822b
......@@ -132,7 +132,7 @@ class sinapsRequest
'entite' => array(
'supannRefId' => array(),
'postalAddress' => '',
'supannCodeEntiteParent' => '',
'supannCodeEntiteParent' => array(),
),
);
......@@ -194,7 +194,7 @@ class sinapsRequest
}
$mereUUID = $this->getUUIDFromReferenceCroisee($identifiantApplication, $lienStructure->referenceCroisee);
if (!empty($mereUUID)) {
$values['entite']['supannCodeEntiteParent'] = $ldapUuidToCodeEntiteCallback($mereUUID)['supannCodeEntite'];
$values['entite']['supannCodeEntiteParent'][] = $ldapUuidToCodeEntiteCallback($mereUUID)['supannCodeEntite'];
}
}
}
......
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