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
e88f84d9
Commit
e88f84d9
authored
Apr 16, 2022
by
IKEDA Soji
Browse files
When closed list is restored, subscribers won't be restored (#1380)
parent
f71f5ce9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/List.pm
View file @
e88f84d9
...
...
@@ -3193,6 +3193,9 @@ sub add_list_member {
}
}
# For backward compat., this column is required and cannot be NULL.
$values
->
{
number_messages
}
//
=
0
;
#Log in stat_table to make statistics
$log
->
add_stat
(
'
robot
'
=>
$self
->
{'
domain
'},
...
...
@@ -3228,9 +3231,8 @@ sub add_list_member {
and
$sth
=
$sdm
->
do_prepared_query
(
sprintf
(
q{INSERT INTO subscriber_table
(%s, list_subscriber, robot_subscriber,
number_messages_subscriber)
SELECT %s, ?, ?, 0
(%s, list_subscriber, robot_subscriber)
SELECT %s, ?, ?
FROM dual
WHERE NOT EXISTS (
SELECT 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