Monotone-Parent: 4e07b3d1e8330e5242ff10554013fd21551394d5

Monotone-Revision: 514aa7865af81fdccddee5095cd390fb72c09412

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-03-20T20:56:29
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2009-03-20 20:56:29 +00:00
parent 59808b74b5
commit b873dce756
2 changed files with 12 additions and 2 deletions
+8 -2
View File
@@ -314,9 +314,15 @@ static NSString *uidColumnName = @"c_uid";
- (NSString *) jsonRepresentation
{
[self fetchProfile];
NSString *jsonRep;
return [values jsonRepresentation];
[self fetchProfile];
if (values)
jsonRep = [values jsonRepresentation];
else
jsonRep = @"{}";
return jsonRep;
}
/* value access */