correct values for hidden fields

darcs-hash:20080721162857-84dde-50f206d20718ddb9805961da2dd2daaea8fc2f8d.gz
This commit is contained in:
Evan Prodromou 2008-07-21 12:28:57 -04:00
parent 76f6e04a45
commit 1cc71d0684

View File

@ -56,8 +56,8 @@ class SmssettingsAction extends EmailsettingsAction {
common_element('span', 'address unconfirmed', $confirm->address . ' (' . $carrier->name . ')'); common_element('span', 'address unconfirmed', $confirm->address . ' (' . $carrier->name . ')');
common_element('span', 'input_instructions', common_element('span', 'input_instructions',
_('Awaiting confirmation on this phone number.')); _('Awaiting confirmation on this phone number.'));
common_hidden('sms', $user->sms); common_hidden('sms', $confirm->address);
common_hidden('carrier', $user->carrier); common_hidden('carrier', $confirm->address_extra);
common_element_end('p'); common_element_end('p');
common_submit('cancel', _('Cancel')); common_submit('cancel', _('Cancel'));
common_input('code', _('Confirmation code'), NULL, common_input('code', _('Confirmation code'), NULL,