James Moger
2013-01-16 8c8f1f537b62a608e9ef01b70bec5a8df4dc8e8a
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;