Stardrad Yin
2013-01-23 aefb59ef98522ef8a10ab64b25840f11e622e1c7
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;