- Issue created by @rclemings
- Issue was unassigned.
- Status changed to Needs review
5 months ago 9:38pm 4 July 2024
In the user_mailman_register_update_remote function of user_mailman_register.module, there is an error in the condition for updating subscriptions to lists that are synced with roles. The result is that unsubscribe do not work for lists that are not synced with roles
Wrong:
if (($list['role_sync'] == USER_MAILMAN_REGISTER_SYNC_SUB_AND_UNSUB ||
$list['role_sync'] == USER_MAILMAN_REGISTER_SYNC_UNSUB_ONLY) &&
!$email_changed && !$roles_changed) {
Right:
if ($list['role_sync'] == USER_MAILMAN_REGISTER_SYNC_SUB_AND_UNSUB &&
!$email_changed && !$roles_changed) {
Needs review
1.0
Code