Download & Extend

Doesn't restore $subscription_auto in user/<uid>/edit

Project:Subscription
Version:4.6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

subscription.module, line 506, the line is

isset($edit->subscriptions_auto) ? $edit->subscriptions_auto : $user->subscriptions_auto,

whereas it should be
isset($edit->subscription_auto) ? $edit->subscription_auto : 1,

Please note that the main problem is that the object field is wrong named. 'subscriptions_auto', whereas the form value and stored value is named 'subscription_auto'.