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
0310509c
Commit
0310509c
authored
Oct 21, 2021
by
Guillaume Heurtier
Browse files
FIX #18428 TIME 0:20 fix communication means format in get contacts by resId
parent
4004253f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/contact/controllers/ContactController.php
View file @
0310509c
...
...
@@ -1505,7 +1505,7 @@ class ContactController
if
(
!
empty
(
$contactRaw
[
'communication_means'
]))
{
$communicationMeans
=
json_decode
(
$contactRaw
[
'communication_means'
],
true
);
$contact
[
'communicationMeans'
]
=
$communicationMeans
[
'url'
]
?
?
$communicationMeans
[
'email'
]
;
$contact
[
'communicationMeans'
]
=
!
empty
(
$communicationMeans
)
?
$communicationMeans
:
null
;
}
$filling
=
ContactController
::
getFillingRate
([
'contactId'
=>
$resourceContact
[
'item_id'
]]);
...
...
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