Change message for new users

Fix a bug : updating operations doesn't work
This commit is contained in:
2012-05-06 11:40:13 +02:00
parent 34a36199a2
commit f1661e315c
5 changed files with 22 additions and 14 deletions

View File

@@ -50,7 +50,18 @@ bool XMLExportEngine::SaveAccounts()
for(it=_accounts.begin(); it!=_accounts.end(); it++)
{
account = _user->GetAccount(it->first);
try
{
account = _user->GetAccount(it->first);
}
catch(User::AccountNotFound)
{
account.id = it->first;
account.name = "Unknown";
account.blocked = false;
account._virtual = false;
account.hidden = false;
}
ESCAPE_CHARS(account.name);
ESCAPE_CHARS(account.number);