summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/smssettings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/smssettings.php b/actions/smssettings.php
index 6acfcdf51..2be73e526 100644
--- a/actions/smssettings.php
+++ b/actions/smssettings.php
@@ -103,7 +103,7 @@ class SmssettingsAction extends EmailsettingsAction {
$user = common_current_user();
$confirm = new Confirm_address();
$confirm->user_id = $user->id;
- $confirm->address_type = 'email';
+ $confirm->address_type = 'sms';
if ($confirm->find(TRUE)) {
return $confirm;
} else {