Fix code so accounts are exported when exporting everything

This commit is contained in:
cketti 2011-03-29 06:59:02 +02:00
parent 0ac406d3cd
commit 81931967a9
1 changed files with 2 additions and 1 deletions

View File

@ -1120,8 +1120,9 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
public void onExport(final boolean includeGlobals, final Account account) {
// TODO, prompt to allow a user to choose which accounts to export
final Set<String> accountUuids = new HashSet<String>();
Set<String> accountUuids = null;
if (account != null) {
accountUuids = new HashSet<String>();
accountUuids.add(account.getUuid());
}