James Moger
2013-05-02 19352c18bd27ea61b9466110c1be874079f60b63
src/main/java/com/gitblit/wicket/panels/HistoryPanel.java
@@ -109,13 +109,13 @@
      }
      
      final boolean isTree = matchingPath == null ? true : matchingPath.isTree();
      final boolean isSubmodule = matchingPath == null ? true : matchingPath.isSubmodule();
      final boolean isSubmodule = matchingPath == null ? false : matchingPath.isSubmodule();
      // submodule
      SubmoduleModel submodule = getSubmodule(submodules, repositoryName, matchingPath.path);
      final String submodulePath;
      final boolean hasSubmodule; 
      if (submodule != null) {
      if (isSubmodule) {
         SubmoduleModel submodule = getSubmodule(submodules, repositoryName, matchingPath == null ? null : matchingPath.path);
         submodulePath = submodule.gitblitPath;
         hasSubmodule = submodule.hasSubmodule;
      } else {