- Issue created by @rclemings
- Issue was unassigned.
- Status changed to Needs review
8 months ago 9:42pm 4 July 2024 - Status changed to Fixed
2 months ago 6:08pm 20 December 2024 Automatically closed - issue fixed for 2 weeks with no activity.
In src/Form/JoinListForm.php, a conditional is needed around the $edit_list definition. Without it, PHP errors result when a user does not have permission for a list.
Wrong:
$edit_list = $form['user_mailman_register']['lists']['list' . trim($list['lid'])]['options' . trim($list['lid'])];
Right:
if (isset($form['user_mailman_register']['lists']['list' . trim($list['lid'])]['options' . trim($list['lid'])])) {
$edit_list = $form['user_mailman_register']['lists']['list' . trim($list['lid'])]['options' . trim($list['lid'])];
}
Active
1.0
Code
Automatically closed - issue fixed for 2 weeks with no activity.