James Moger
2013-10-15 e1908933fa9968b11e9ea03d88730aee3140534b
Fix error on generating activity page when there is no activity
2 files modified
2 ■■■■■ changed files
releases.moxie 1 ●●●● patch | view | raw | blame | history
src/main/java/com/gitblit/wicket/pages/ActivityPage.java 1 ●●●● patch | view | raw | blame | history
releases.moxie
@@ -13,6 +13,7 @@
    - Fixed support for implied SSH urls in web.otherUrls (issue-311)
    - Fix potential NPE on removing uncached repository from cache
    - Ignore the default contents of .git/description file
    - Fix error on generating activity page when there is no activity
    changes:
    - Personal repository prefix (~) is now configurable (issue-265)
    - Reversed line links in blob view (issue-309)
src/main/java/com/gitblit/wicket/pages/ActivityPage.java
@@ -96,6 +96,7 @@
            // no activity, skip graphs and activity panel
            add(new Label("subheader", MessageFormat.format(headerPattern,
                    daysBack)));
            add(new Label("chartsPanel").setVisible(false));
            add(new Label("activityPanel"));
        } else {
            // calculate total commits and total authors