]> source.dussan.org Git - gitblit.git/commitdiff
Fix bug introduced in 67278f5
authorJames Moger <james.moger@gitblit.com>
Mon, 28 Apr 2014 19:03:45 +0000 (15:03 -0400)
committerJames Moger <james.moger@gitblit.com>
Mon, 28 Apr 2014 19:03:45 +0000 (15:03 -0400)
releases.moxie
src/main/java/com/gitblit/models/PluginRegistry.java

index 41719dfc05e65bfb02c078417ec49abb066f7268..a08763e706ea803250e680728138f7511c2edbc3 100644 (file)
@@ -26,6 +26,7 @@ r23: {
     - Ralph Hoffman
     - Olivier Rouits
     - Owen Nelson
+    - Alexander Zabluda
 }
 
 #
index 8da345782f065cf2f71a7734a09edaf88b461203..3f692bcba836f9dffa4032e3b98ad5e4c6879d41 100644 (file)
@@ -126,7 +126,7 @@ public class PluginRegistry implements Serializable {
                        Version ir = Version.createVersion(installedRelease);\r
                        Version cr = Version.ZERO;\r
                        PluginRelease curr = getCurrentRelease(system);\r
-                       if (cr != null) {\r
+                       if (curr != null) {\r
                                cr = Version.createVersion(curr.version);\r
                        }\r
                        switch (ir.compareTo(cr)) {\r