Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
MaarchCourrier
Commits
db589e40
Verified
Commit
db589e40
authored
May 31, 2021
by
Florian Azizian
Browse files
FIX #17109 TIME 0:15 Do not return external signatureMode
parent
7abea573
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/core/controllers/AutoCompleteController.php
View file @
db589e40
...
...
@@ -152,6 +152,12 @@ class AutoCompleteController
}
$curlResponse
[
'response'
][
$key
][
'idToDisplay'
]
=
$value
[
'firstname'
]
.
' '
.
$value
[
'lastname'
];
$curlResponse
[
'response'
][
$key
][
'externalId'
][
'maarchParapheur'
]
=
$value
[
'id'
];
// Remove external value in signatureModes
$array
=
$curlResponse
[
'response'
][
$key
][
'signatureModes'
];
unset
(
$array
[
array_search
(
'external'
,
$array
)]);
$array
=
array_values
(
$array
);
$curlResponse
[
'response'
][
$key
][
'signatureModes'
]
=
$array
;
}
return
$response
->
withJson
(
$curlResponse
[
'response'
]);
}
else
{
...
...
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