Browse Source

Fix bug introduced in 67278f5

tags/v1.5.1
James Moger 10 years ago
parent
commit
55dc95d601
2 changed files with 2 additions and 1 deletions
  1. 1
    0
      releases.moxie
  2. 1
    1
      src/main/java/com/gitblit/models/PluginRegistry.java

+ 1
- 0
releases.moxie View File

@@ -26,6 +26,7 @@ r23: {
- Ralph Hoffman
- Olivier Rouits
- Owen Nelson
- Alexander Zabluda
}

#

+ 1
- 1
src/main/java/com/gitblit/models/PluginRegistry.java View File

@@ -126,7 +126,7 @@ public class PluginRegistry implements Serializable {
Version ir = Version.createVersion(installedRelease);
Version cr = Version.ZERO;
PluginRelease curr = getCurrentRelease(system);
if (cr != null) {
if (curr != null) {
cr = Version.createVersion(curr.version);
}
switch (ir.compareTo(cr)) {

Loading…
Cancel
Save