James Moger
2013-01-13 9cc56a1f60eff2ce1db40b7078eab92e78602e1c
src/com/gitblit/utils/IssueUtils.java
@@ -380,7 +380,7 @@
      String issuePath = getIssuePath(issueId);
      RevTree tree = JGitUtils.getCommit(repository, GB_ISSUES).getTree();
      byte[] content = JGitUtils
            .getByteContent(repository, tree, issuePath + "/" + attachment.id);
            .getByteContent(repository, tree, issuePath + "/" + attachment.id, false);
      attachment.content = content;
      attachment.size = content.length;
      return attachment;