Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List.pm: ensure uniqueness when adding to source id list #392

Merged
merged 1 commit into from
Aug 16, 2018

Conversation

mpkut
Copy link
Contributor

@mpkut mpkut commented Aug 9, 2018

At our site we encountered some cases where the same source ID was present multiple times in the include_sources_subscriber column of the subscriber_table. The current code simply adds new source ID's to the end of the current list, without any checks. This update adds a small utility function that suppresses duplicate source ID's when adding them to the list.

@ikedas ikedas added the bug label Aug 10, 2018
@ikedas ikedas added this to the 6.2.36 milestone Aug 10, 2018
@ikedas ikedas merged commit 72394dc into sympa-community:sympa-6.2 Aug 16, 2018
@mpkut mpkut deleted the 6.2.34_fix_source_id branch January 16, 2019 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants