r7254 - dumbhippo/trunk/server/src/com/dumbhippo/server/views



Author: otaylor
Date: 2008-01-24 11:08:29 -0600 (Thu, 24 Jan 2008)
New Revision: 7254

Modified:
   dumbhippo/trunk/server/src/com/dumbhippo/server/views/UserViewpoint.java
Log:
Fix use of wrong class name when checking private group visibility

Modified: dumbhippo/trunk/server/src/com/dumbhippo/server/views/UserViewpoint.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/server/views/UserViewpoint.java	2008-01-24 00:37:56 UTC (rev 7253)
+++ dumbhippo/trunk/server/src/com/dumbhippo/server/views/UserViewpoint.java	2008-01-24 17:08:29 UTC (rev 7254)
@@ -159,7 +159,7 @@
 				return true;
 			
 			@SuppressWarnings("unchecked")
-			Set<Guid> members = (Set<Guid>)session.getRawProperty(PostDMO.class, groupId, "canSeeMembers");
+			Set<Guid> members = (Set<Guid>)session.getRawProperty(GroupDMO.class, groupId, "canSeeMembers");
 			return members.contains(viewerId);
 		} catch (NotFoundException e) {
 			return false;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]