Commit ad40edad authored by IKEDA Soji's avatar IKEDA Soji
Browse files

The "subscribe" requests ignored custom_attribute (#1199).

parent 9d31cceb
......@@ -59,6 +59,7 @@ sub _twist {
my $sender = $request->{sender};
my $email = $request->{email};
my $comment = $request->{gecos};
my $ca = $request->{custom_attribute};
$language->set_lang($list->{'admin'}{'lang'});
......@@ -105,6 +106,7 @@ sub _twist {
$u->{'email'} = $email;
$u->{'gecos'} = $comment;
$u->{'date'} = $u->{'update_date'} = time;
$u->{custom_attribute} = $ca if $ca;
$list->add_list_member($u);
if (defined $list->{'add_outcome'}{'errors'}) {
......
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