accType = preferences->accounts.GetAccountType((int)lstAccountsIndex);
- if (accType != "CardDAV" && AccType != "carddav" &&
- accType != "Local" && AccType != "local"){
+ if (accType != "CardDAV" && accType != "carddav" &&
+ accType != "Local" && accType != "local"){
wxMessageBox(_("Cannot modify the selected account settings as the account type is unsupported."), _("Unsupported account type"), wxICON_ERROR);
return;