From: znek Date: Thu, 14 Oct 2004 16:36:43 +0000 (+0000) Subject: compatibility update X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc9603a5d53220d03f66c641d1eec5d5c99fe194;p=scalable-opengroupware.org compatibility update git-svn-id: http://svn.opengroupware.org/SOGo/trunk@396 d1b88da0-ebda-0310-925b-ed51d893ca5b --- diff --git a/SOGoLogic/ChangeLog b/SOGoLogic/ChangeLog index fec335b9..5774bcb6 100644 --- a/SOGoLogic/ChangeLog +++ b/SOGoLogic/ChangeLog @@ -1,3 +1,10 @@ +2004-10-14 Marcus Mueller + + * SOGoAppointment.m: fix comparison of role attribute to be compatible + with new versitSaxDriver. Note: this is a bug in the old + iCalSaxDriver, but the fix is backwards compatible and shouldn't + break anything (v0.9.16) + 2004-10-08 Marcus Mueller * AgenorUserManager.m: some safe-guarding against improper values, diff --git a/SOGoLogic/SOGoAppointment.m b/SOGoLogic/SOGoAppointment.m index 8a664f06..c0251d5e 100644 --- a/SOGoLogic/SOGoAppointment.m +++ b/SOGoLogic/SOGoAppointment.m @@ -315,11 +315,11 @@ static SaxObjectDecoder *sax = nil; p = [list objectAtIndex:i]; role = [p role]; if (_persons) { - if (role == nil || ![role isEqualToString:@"NON-PART"]) + if (role == nil || ![role hasPrefix:@"NON-PART"]) [filtered addObject:p]; } else { - if ([role isEqualToString:@"NON-PART"]) + if ([role hasPrefix:@"NON-PART"]) [filtered addObject:p]; } } diff --git a/SOGoLogic/Version b/SOGoLogic/Version index 8c6b5872..a7274e9e 100644 --- a/SOGoLogic/Version +++ b/SOGoLogic/Version @@ -1,5 +1,5 @@ # $Id$ -SUBMINOR_VERSION:=15 +SUBMINOR_VERSION:=16 # v0.9.13 requires libFoundation v1.0.62