]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
correct values for hidden fields
authorEvan Prodromou <evan@prodromou.name>
Mon, 21 Jul 2008 16:28:57 +0000 (12:28 -0400)
committerEvan Prodromou <evan@prodromou.name>
Mon, 21 Jul 2008 16:28:57 +0000 (12:28 -0400)
darcs-hash:20080721162857-84dde-50f206d20718ddb9805961da2dd2daaea8fc2f8d.gz

actions/smssettings.php

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