From 153c20ea468c4410a445725c8da4b2b74e740661 Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Thu, 31 May 2012 19:06:54 -0700 Subject: [PATCH] Was accidentally getting first name for first and last name. Don't do that. --- .../com/todoroo/astrid/actfm/sync/ActFmSyncV2Provider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmSyncV2Provider.java b/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmSyncV2Provider.java index 24103fd46..5a8d3ce01 100644 --- a/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmSyncV2Provider.java +++ b/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmSyncV2Provider.java @@ -173,7 +173,7 @@ public class ActFmSyncV2Provider extends SyncV2Provider { if (status.has("first_name")) Preferences.setString(ActFmPreferenceService.PREF_FIRST_NAME, status.optString("first_name")); if (status.has("last_name")) - Preferences.setString(ActFmPreferenceService.PREF_LAST_NAME, status.optString("first_name")); + Preferences.setString(ActFmPreferenceService.PREF_LAST_NAME, status.optString("last_name")); if (status.has("premium")) Preferences.setBoolean(ActFmPreferenceService.PREF_PREMIUM, status.optBoolean("premium")); if (status.has("email"))