Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fd-plugins
Commits
b77e822b
Unverified
Commit
b77e822b
authored
Apr 25, 2019
by
Côme Chilliet
Browse files
🚑
fix(sinaps) supannCodeEntiteParent is multivaluated
issue #5945
parent
ed52b0dd
Changes
1
Show whitespace changes
Inline
Side-by-side
sinaps/include/class_sinapsRequest.inc
View file @
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'
];
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment