[dw-free] Tweak to be able to accept multiple values (no visible effect; we only have one value for
[commit: http://hg.dwscoalition.org/dw-free/rev/5ba741324569]
Tweak to be able to accept multiple values (no visible effect; we only have
one value for this currently)
Patch by
fu.
Files modified:
Tweak to be able to accept multiple values (no visible effect; we only have
one value for this currently)
Patch by
Files modified:
- cgi-bin/DW/Controller/Rename.pm
--------------------------------------------------------------------------------
diff -r 791c1bee72fa -r 5ba741324569 cgi-bin/DW/Controller/Rename.pm
--- a/cgi-bin/DW/Controller/Rename.pm Sat Feb 18 13:33:24 2012 +0800
+++ b/cgi-bin/DW/Controller/Rename.pm Sat Feb 18 13:57:48 2012 +0800
@@ -155,7 +155,7 @@
my %keep_rel = map { $_ => 1 } $post_args->get_all( "rel_options" );
my %del_rel = map { +"del_$_" => ! $keep_rel{$_} } qw( trusted_by watched_by trusted watched communities );
- my %other_opts = map { $_ => 1 } $post_args->get( "others" );
+ my %other_opts = map { $_ => 1 } $post_args->get_all( "others" );
if ( $other_opts{email} ) {
if ( $post_args->{redirect} ne "forward" ) {
push @$errref, LJ::Lang::ml( '/rename.tt.error.emailnotforward', { emaildomain => "\@$LJ::USER_DOMAIN" } );
--------------------------------------------------------------------------------
