$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
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

Sutharsan - February 18, 2007 - 16:08

Is this patch solving an problem? Please describe the problem
I believe the problem may be solved with issue 112191.

#2

Sutharsan - May 7, 2007 - 18:38
Status:active» won't fix
 
 

Drupal is a registered trademark of Dries Buytaert.