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
f22b1392
Commit
f22b1392
authored
Feb 28, 2018
by
IKEDA Soji
Browse files
Issue #212: Notification not sent to the owner when a list is confirmed by a listmaster
parent
a248c462
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cgi/wwsympa.fcgi.in
View file @
f22b1392
...
...
@@ -11113,7 +11113,8 @@ sub do_purge_list {
sub do_close_list {
wwslog('info', '(%s, mode=%s)', $list, $in{'mode'});
my $mode = $in{'mode'};
my $mode = $in{'mode'};
my $notify = !!$in{'notify'};
# Sanitize parameter: non-listmasters are allowed "close" mode only.
$mode = 'close'
...
...
@@ -11123,6 +11124,7 @@ sub do_close_list {
$param->{'mode'} = $mode;
$param->{'previous_action'} = $in{'previous_action'} || 'admin';
$param->{'notify'} = $notify;
# Action confirmed?
my $next_action = $session->confirm_action(
...
...
@@ -11137,6 +11139,7 @@ sub do_close_list {
action => 'close_list',
current_list => $list,
mode => $mode,
notify => $notify,
sender => $param->{'user'}{'email'},
( $param->{'user'}{'email'}
? (md5_check => 1)
...
...
@@ -11184,7 +11187,8 @@ sub do_close_list {
# Old name: do_restore_list().
sub do_open_list {
wwslog('info', '(mode=%s)', $in{'mode'});
my $mode = $in{'mode'};
my $mode = $in{'mode'};
my $notify = !!$in{'notify'};
# Sanitize parameter.
$mode = 'open'
...
...
@@ -11192,6 +11196,7 @@ sub do_open_list {
$param->{'mode'} = $mode;
$param->{'previous_action'} = $in{'previous_action'} || 'admin';
$param->{'notify'} = $notify;
# Action confirmed?
my $next_action = $session->confirm_action(
...
...
@@ -11206,6 +11211,7 @@ sub do_open_list {
action => 'open_list',
current_list => $list,
mode => $mode,
notify => $notify,
sender => $param->{'user'}{'email'},
( $param->{'user'}{'email'}
? (md5_check => 1)
...
...
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