diff lib/redmine/scm/base.rb @ 1295:622f24f53b42 redmine-2.3

Update to Redmine SVN revision 11972 on 2.3-stable branch
author Chris Cannam
date Fri, 14 Jun 2013 09:02:21 +0100
parents 513646585e45
children
line wrap: on
line diff
--- a/lib/redmine/scm/base.rb	Fri Jun 14 09:01:12 2013 +0100
+++ b/lib/redmine/scm/base.rb	Fri Jun 14 09:02:21 2013 +0100
@@ -4,7 +4,7 @@
       class << self
 
         def all
-          @scms
+          @scms || []
         end
 
         # Add a new SCM adapter and repository