]> err.no Git - sope/commitdiff
minor bugfix
authorznek <znek@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Fri, 15 Jul 2005 08:55:12 +0000 (08:55 +0000)
committerznek <znek@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Fri, 15 Jul 2005 08:55:12 +0000 (08:55 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@903 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-ical/NGiCal/ChangeLog
sope-ical/NGiCal/Version
sope-ical/NGiCal/iCalPerson.m

index 8c34500366a176f6f0a8bf4ee1a00c9910e9cd74..ec523bf5032710d61f78f0dc74224d70dd5ae30e 100644 (file)
@@ -1,3 +1,8 @@
+2005-07-15  Marcus Mueller  <znek@mulle-kybernetik.com>
+
+       * iCalPerson.m: fixed -hasSameEmailAddress: to lowercase email
+         addresses before attempting comparison (v4.5.51)
+
 2005-07-15  Helge Hess  <helge.hess@opengroupware.org>
 
        * v4.5.50
index a3ca3e852b6ab7033a6343aadcc9c472e70bd2f0..c7038352056248b728bea3eb1ffa9b0053d673e9 100644 (file)
@@ -2,7 +2,7 @@
 
 MAJOR_VERSION=4
 MINOR_VERSION=5
-SUBMINOR_VERSION:=50
+SUBMINOR_VERSION:=51
 
 # v4.5.40 requires NGExtensions v4.5.145
 # v4.5.37 requires NGExtensions v4.5.140
index 888c92be25999f0c385e43052c8e46bdbbe7d0dd..e4e99a04e757e68a1a5d68c090bf9afcd94b39dc 100644 (file)
 }
 
 - (BOOL)hasSameEmailAddress:(iCalPerson *)_other {
-  return IS_EQUAL([self email], [_other email], isEqualToString:);
+  return IS_EQUAL([[self email] lowercaseString],
+                  [[_other email] lowercaseString],
+                  isEqualToString:);
 }
 
 /* descriptions */