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).

Comments

sutharsan’s picture

Status: Needs review » Postponed (maintainer needs more info)

You 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.

sutharsan’s picture

Status: Postponed (maintainer needs more info) » Fixed
StatusFileSize
new650 bytes

Patch committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.