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