Mail addresses are stored in simplenews_subscriptions as lowercase, but simplenews_get_user_subscription and simplenews_user_is_subscribed don't compare with lowercase. This causes simplenews_subscribe_user to add duplicates (and probably other problems too).
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | simplenews.303021.patch | 650 bytes | sutharsan |
| simplenews_case_mismatch.patch | 1.27 KB | henrrrik |
Comments
Comment #1
sutharsan commentedYou may be perfectly right with this solution, but please explain not just the solution, but also the use case which causes you this problem. There may be alternative solutions to be considered.
Comment #2
sutharsan commentedPatch committed.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.