I was testing subscription to newsletter in user profile /user/%/edit/simplenews and it did'nt work for hidden newsletters.

Fix is simple: in function simplenews_user_presave() for 'simplenews' category the simplenews_get_mailing_lists() should be called with parameter simplenews_get_mailing_lists($show_all = TRUE)

Comments

simon georges’s picture

I don't really understand what you're trying to achieve.
The subscription to hidden newsletter is only working when registering to the website, not when editing your account (at least I think...)

berdir’s picture

Status: Needs review » Active

Setting to active as there is no patch here.

Not sure if the change is correct either.

berdir’s picture

Status: Active » Closed (works as designed)

Hidden: This newsletter does not appear on subscription forms. No unsubscription footer in newsletter.

This is IMHO working as expected.

If you think otherwise, please re-open and state why you think so and what the actual problem is in your case.