$user contains mail rather than $subscription
drpratten - February 11, 2007 - 06:54
| Project: | Simplenews |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
Description
In function _simplenews_subscription_manager_form()
$form['subscriptions']['#title'] = t('Subscriptions for %mail', array('%mail' => $subscription->mail));
$form['subscriptions']['mail'] = array('#type' => 'value', '#value' => $subscription->mail);should probably be
$form['subscriptions']['#title'] = t('Subscriptions for %mail', array('%mail' => $user->mail));
$form['subscriptions']['mail'] = array('#type' => 'value', '#value' => $user->mail);
#1
Is this patch solving an problem? Please describe the problem
I believe the problem may be solved with issue 112191.
#2