mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 23:13:10 +00:00
Fix for SF Bug #1725817 Error in authorization to submit when you add collection.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3338 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -304,7 +304,8 @@ public class Group extends DSpaceObject
|
||||
loadData(); // make sure Group has data loaded
|
||||
|
||||
// don't add if it's already a member
|
||||
if (isMember(g))
|
||||
// and don't add itself
|
||||
if (isMember(g) || getID()==g.getID())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user