James Moger
2012-01-02 0ea17fc294c1bb55a90037a150f4624992c0e9fb
Merge pull request #3 from docbobo/master

ActivityPage causes IndexOutOfBoundsException
1 files modified
2 ■■■ changed files
src/com/gitblit/utils/ActivityUtils.java 2 ●●● patch | view | raw | blame | history
src/com/gitblit/utils/ActivityUtils.java
@@ -85,7 +85,7 @@
                // determine commit branch
                String branch = objectId;
                if (StringUtils.isEmpty(branch)) {
                if (StringUtils.isEmpty(branch) && !commits.isEmpty()) {
                    List<RefModel> headRefs = allRefs.get(commits.get(0).getId());
                    List<String> localBranches = new ArrayList<String>();
                    for (RefModel ref : headRefs) {