Commit 125d2bbc authored by david.verdin's avatar david.verdin
Browse files

[-bug] wwsympa.fcgi would die when requesting subscription with custom...

[-bug] wwsympa.fcgi would die when requesting subscription with custom attributes because of an attempt to cats the custom attribute name as a site parameter.


git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@8856 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent 29c14aea
......@@ -2185,7 +2185,7 @@ sub get_parameters {
}elsif ($pname =~ /^custom_attribute(.*)$/) {
my $key = $tokens[1] ;
$regexp = $in_regexp{'custom_attribute'};
&Log::do_log ('debug2', "get_parameters (custom_attribute) : ($p)($key) $pname $in{$p} ". Site->$key->{type});
##&Log::do_log ('debug2', "get_parameters (custom_attribute) : ($p)($key) $pname $in{$p} ". Site->$key->{type});
$custom_attribute->{$key} = {value=>$in{$p}} ;
undef $in{$p} ;
}elsif ($pname =~ /^custom_input(.*)$/) {
......
Supports Markdown
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