Skip to content

Commit

Permalink
Merge pull request sakaiproject#43 from jonespm/KNL-1055
Browse files Browse the repository at this point in the history
KNL-1055 - 101st proposal of same uploads fails with Bug Report screen
  • Loading branch information
ottenhoff committed Jan 15, 2015
2 parents c7601e7 + 8dc56d7 commit c76128f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3517,7 +3517,7 @@ public ContentResourceEdit addResource(String collectionId, String basename, Str
name = basename + "-" + attempts + extension;
id = collectionId + name;

if (attempts > maximum_tries)
if (attempts >= maximum_tries)
{
throw new IdUniquenessException(id);
}
Expand Down

0 comments on commit c76128f

Please sign in to comment.