diff --git a/SoObjects/SOGo/SOGoUserDefaults.m b/SoObjects/SOGo/SOGoUserDefaults.m index 01a726a7c..5008636d0 100644 --- a/SoObjects/SOGo/SOGoUserDefaults.m +++ b/SoObjects/SOGo/SOGoUserDefaults.m @@ -56,6 +56,7 @@ static NSString *uidColumnName = @"c_uid"; fieldName = [theFieldName copy]; url = [theURL copy]; uid = [theUID copy]; + defFlags.ready = YES; } else { @@ -355,7 +356,7 @@ static NSString *uidColumnName = @"c_uid"; { id old; - if (![self fetchProfile]) + if (!defFlags.ready || ![self fetchProfile]) return; /* check whether the value is actually modified */