Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
367dcf31
Commit
367dcf31
authored
May 21, 2022
by
IKEDA Soji
Browse files
Unable to set custom attribute using the SOAP API (if none already set) (#1401)
parent
549024a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/WWW/SOAP.pm
View file @
367dcf31
...
...
@@ -1449,7 +1449,7 @@ sub setDetails {
and
$reception
=~
/^(mail|nomail|digest|digestplain|summary|notice|txt|html|urlize|not_me)$/
;
if
(
@
_
)
{
# do we have any custom attributes passed?
%newcustom
=
%
{
$subscriber
->
{
'
custom_attribute
'
}};
%newcustom
=
%
{
$subscriber
->
{
custom_attribute
}
//
{
}};
while
(
@
_
)
{
my
$key
=
shift
;
next
unless
$key
;
...
...
@@ -1509,7 +1509,7 @@ sub setCustom {
->
faultstring
('
Not a subscriber to this list
')
->
faultdetail
('
Use : <list> <key> <value>
');
}
%newcustom
=
%
{
$subscriber
->
{
'
custom_attribute
'
}};
%newcustom
=
%
{
$subscriber
->
{
custom_attribute
}
//
{
}};
#if(! defined $list->{'admin'}{'custom_attribute'}{$key} ) {
# return SOAP::Data->name('result')->type('boolean')->value(0);
#}
...
...
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