diff --git a/ChangeLog b/ChangeLog index c295a459e..a7580efe8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-11-05 Wolfgang Sourdeau + + * SoObjects/Appointments/SOGoAptMailReceipt.m (-getSubject) + (-getBody): invoked setupValues if values is nil to ensure that + the timezone has been set properly. + 2010-11-04 Wolfgang Sourdeau * Tools/SOGoSockDOperation.m (_getFolderWithId:forUser:): invoke diff --git a/SoObjects/Appointments/SOGoAptMailReceipt.m b/SoObjects/Appointments/SOGoAptMailReceipt.m index 420ec5b30..3d844008e 100644 --- a/SoObjects/Appointments/SOGoAptMailReceipt.m +++ b/SoObjects/Appointments/SOGoAptMailReceipt.m @@ -76,6 +76,9 @@ static NSCharacterSet *wsSet = nil; { NSString *subject; + if (!values) + [self setupValues]; + isSubject = YES; subject = [[[self generateResponse] contentAsString] stringByTrimmingCharactersInSet: wsSet]; @@ -94,6 +97,9 @@ static NSCharacterSet *wsSet = nil; { NSString *body; + if (!values) + [self setupValues]; + isSubject = NO; body = [[self generateResponse] contentAsString];