James Moger
2013-04-10 e57f4c85dbe0ee04665e43ce33c71f8581935bed
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 {